Click or drag to resize

MFEnumJsonConverter Class

Converts MFilesAPI enums to between their standard values and their custom json serialized forms.
Inheritance Hierarchy
SystemObject
  JsonConverter
    MFiles.VAF.Configuration.JsonAdaptorMFEnumJsonConverter

Namespace:  MFiles.VAF.Configuration.JsonAdaptor
Assembly:  MFiles.VAF.Configuration (in MFiles.VAF.Configuration.dll) Version: 2.1.0.1 (2.1.0.1)
Syntax
C#
public class MFEnumJsonConverter : JsonConverter

The MFEnumJsonConverter type exposes the following members.

Constructors
  NameDescription
Public methodMFEnumJsonConverter
Constructor.
Top
Properties
  NameDescription
Public propertyCanRead (Inherited from JsonConverter.)
Public propertyCanWrite (Inherited from JsonConverter.)
Top
Methods
  NameDescription
Public methodCanConvert
Determines whether this instance can convert the specified object type.
(Overrides JsonConverter.CanConvert(Type).)
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodStatic memberGetEnumName
Returns the serializable name of an enum value.
Public methodStatic memberGetEnumValue
Returns the value of an enum by the serializable name.
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodReadJson
Reads the JSON representation of the object.
(Overrides JsonConverter.ReadJson(JsonReader, Type, Object, JsonSerializer).)
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Public methodWriteJson
Writes the JSON representation of the object.
(Overrides JsonConverter.WriteJson(JsonWriter, Object, JsonSerializer).)
Top
See Also