Skip to main content
.NET 8.0+

ObjectFormatter Methods

Represents a string formatter. Exposes the static helper ObjectFormatter.Format method that replaces format items in the specified string with the property values of the specified object.
Name Description
Equals(Object, Object) static Determines whether the specified object instances are considered equal. Inherited from Object.
Equals(Object) Determines whether the specified object is equal to the current object. Inherited from Object.
Format(String, Object, ICaptionHelper) static
Format(String, Object, EmptyEntriesMode, ICaptionHelper) static
Format(String, Object, EmptyEntriesMode) static Replaces format items in the specified string with the values of the specified object’s properties. Allows you to specify the EmptyEntriesMode mode of processing the passed string.
Format(String, Object) static Replaces format items in the specified string with the values of the specified object’s properties. Uses the EmptyEntriesMode.Default mode of processing the passed string.
GetHashCode() Serves as the default hash function. Inherited from Object.
GetType() Gets the Type of the current instance. Inherited from Object.
MemberwiseClone() protected Creates a shallow copy of the current Object. Inherited from Object.
ReferenceEquals(Object, Object) static Determines whether the specified Object instances are the same instance. Inherited from Object.
ToString() Returns a string that represents the current object. Inherited from Object.
See Also