Class ImmutableCollectionsUtils
Inheritance
System.Object
ImmutableCollectionsUtils
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.Utilities
Assembly: Bayat.Json.Runtime.dll
Syntax
public static class ImmutableCollectionsUtils
Methods
| Improve this Doc View SourceTryBuildImmutableForArrayContract(Type, Type, out Type, out ObjectConstructor<Object>)
Declaration
public static bool TryBuildImmutableForArrayContract(Type underlyingType, Type collectionItemType, out Type createdType, out ObjectConstructor<object> parameterizedCreator)
Parameters
Type | Name | Description |
---|---|---|
System.Type | underlyingType | |
System.Type | collectionItemType | |
System.Type | createdType | |
ObjectConstructor<System.Object> | parameterizedCreator |
Returns
Type | Description |
---|---|
System.Boolean |
TryBuildImmutableForDictionaryContract(Type, Type, Type, out Type, out ObjectConstructor<Object>)
Declaration
public static bool TryBuildImmutableForDictionaryContract(Type underlyingType, Type keyItemType, Type valueItemType, out Type createdType, out ObjectConstructor<object> parameterizedCreator)
Parameters
Type | Name | Description |
---|---|---|
System.Type | underlyingType | |
System.Type | keyItemType | |
System.Type | valueItemType | |
System.Type | createdType | |
ObjectConstructor<System.Object> | parameterizedCreator |
Returns
Type | Description |
---|---|
System.Boolean |