[]
For internal use. Provides some helper methods for any object.
public static class ObjectExtensions
Name | Description |
---|---|
ApplyDefaults<TObject>(TObject) | Sets the properties values of object to their default values (defined by DefaultValue attribute). |
SetValue<TObject>(TObject, PropertyDescriptor, string) | Sets the property value using approprieate type converter. |
ToNameValueCollection(object) |