| ObjectToEnumConverter Class |
Namespace: Intuit.Ipp.Utility
public class ObjectToEnumConverter : JsonConverter
The ObjectToEnumConverter type exposes the following members.
| Name | Description | |
|---|---|---|
| ObjectToEnumConverter | Initializes a new instance of the ObjectToEnumConverter class |
| Name | Description | |
|---|---|---|
| CanRead | (Inherited from JsonConverter.) | |
| CanWrite | (Inherited from JsonConverter.) |
| Name | Description | |
|---|---|---|
| CanConvert |
This method is used to check if it is of enum type.
(Overrides JsonConverter.CanConvert(Type).) | |
| Equals | Determines whether the specified object is equal to the current object. (Inherited from Object.) | |
| Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) | |
| GetHashCode | Serves as the default hash function. (Inherited from Object.) | |
| GetType | Gets the Type of the current instance. (Inherited from Object.) | |
| MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
| ReadJson |
This method is used for deserialization of enum field.
(Overrides JsonConverter.ReadJson(JsonReader, Type, Object, JsonSerializer).) | |
| ToString | Returns a string that represents the current object. (Inherited from Object.) | |
| WriteJson |
This method is used for serialization of enum field.
(Overrides JsonConverter.WriteJson(JsonWriter, Object, JsonSerializer).) |
| Name | Description | |
|---|---|---|
| CopyRecursive |
recursively copies object properties to destination.
(Defined by Utility.) |