Class JsonArrayContract
Contract details for a System.
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 JsonArrayContract : JsonContainerContract
Constructors
| Improve this Doc View SourceJsonArrayContract(Type)
Initializes a new instance of the Json
Declaration
public JsonArrayContract(Type underlyingType)
Parameters
Type | Name | Description |
---|---|---|
System. |
underlyingType | The underlying type for the contract. |
Properties
| Improve this Doc View SourceCanDeserialize
Declaration
public bool CanDeserialize { get; }
Property Value
Type | Description |
---|---|
System. |
CollectionItemType
Gets the System.
Declaration
public Type CollectionItemType { get; }
Property Value
Type | Description |
---|---|
System. |
The System. |
HasParameterizedCreator
Gets a value indicating whether the creator has a parameter with the collection values.
Declaration
public bool HasParameterizedCreator { get; set; }
Property Value
Type | Description |
---|---|
System. |
|
IsArray
Declaration
public bool IsArray { get; }
Property Value
Type | Description |
---|---|
System. |
IsMultidimensionalArray
Gets a value indicating whether the collection type is a multidimensional array.
Declaration
public bool IsMultidimensionalArray { get; }
Property Value
Type | Description |
---|---|
System. |
|
OverrideCreator
Gets or sets the function used to create the object. When set this function will override Default
Declaration
public ObjectConstructor<object> OverrideCreator { get; set; }
Property Value
Type | Description |
---|---|
Object |
The function used to create the object. |
ParameterizedCreator
Declaration
public ObjectConstructor<object> ParameterizedCreator { get; }
Property Value
Type | Description |
---|---|
Object |
ShouldCreateWrapper
Declaration
public bool ShouldCreateWrapper { get; }
Property Value
Type | Description |
---|---|
System. |
Methods
| Improve this Doc View SourceCreateTemporaryCollection()
Declaration
public IList CreateTemporaryCollection()
Returns
Type | Description |
---|---|
System. |
CreateWrapper(Object)
Declaration
public IWrappedCollection CreateWrapper(object list)
Parameters
Type | Name | Description |
---|---|---|
System. |
list |
Returns
Type | Description |
---|---|
IWrapped |