Class JsonISerializableContract
Contract details for a System.Type used by the JsonSerializer.
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Bayat.Json.Serialization
Assembly: Bayat.Json.Runtime.dll
Syntax
public class JsonISerializableContract : JsonContainerContract
Constructors
| Improve this Doc View SourceJsonISerializableContract(Type)
Initializes a new instance of the JsonISerializableContract class.
Declaration
public JsonISerializableContract(Type underlyingType)
Parameters
Type | Name | Description |
---|---|---|
System.Type | underlyingType | The underlying type for the contract. |
Properties
| Improve this Doc View SourceISerializableCreator
Gets or sets the ISerializable object constructor.
Declaration
public ObjectConstructor<object> ISerializableCreator { get; set; }
Property Value
Type | Description |
---|---|
ObjectConstructor<System.Object> | The ISerializable object constructor. |