CHAPSecretConverter Class |
Namespace: SolidFire.Core.Converters
public class CHAPSecretConverter : JsonConverter
The CHAPSecretConverter type exposes the following members.
Name | Description | |
---|---|---|
CHAPSecretConverter | Initializes a new instance of the CHAPSecretConverter class |
Name | Description | |
---|---|---|
CanRead | (Inherited from JsonConverter.) | |
CanWrite | (Inherited from JsonConverter.) |
Name | Description | |
---|---|---|
CanConvert | (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.) | |
GetSchema | (Inherited from JsonConverter.) | |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
ReadJson |
During deserialization, create a new CHAPSecret object and set the string value to the Secret property before returning.
(Overrides JsonConverter.ReadJson(JsonReader, Type, Object, JsonSerializer).) | |
ToString | Returns a string that represents the current object. (Inherited from Object.) | |
WriteJson |
During serialization, only write the value in the Secret property of the CHAPSecret object
(Overrides JsonConverter.WriteJson(JsonWriter, Object, JsonSerializer).) |