System.Runtime.Serialization
25 wrapped types. Load them with using { "System.Runtime.Serialization" }. Click a class to open it.
CollectionDataContractAttribute class sealed · extends Attribute
System.Runtime.Serialization.CollectionDataContractAttribute · assembly System.Runtime.Serialization.Primitives
Constructors
new CollectionDataContractAttribute() |
Ring: new CollectionDataContractAttribute(args) uses one constructor; the others are chosen by the parameter names: new CollectionDataContractAttribute().@New([ :param = value ]) or dnNew("CollectionDataContractAttribute",[ :param = value ]).
Properties and fields
| Name | Type | Access | In Ring |
|---|---|---|---|
Namespace | string | read, write | o.Namespace o.Namespace = v |
IsNamespaceSetExplicitly | bool | read | o.IsNamespaceSetExplicitly |
Name | string | read, write | o.Name o.Name = v |
IsNameSetExplicitly | bool | read | o.IsNameSetExplicitly |
ItemName | string | read, write | o.ItemName o.ItemName = v |
IsItemNameSetExplicitly | bool | read | o.IsItemNameSetExplicitly |
KeyName | string | read, write | o.KeyName o.KeyName = v |
IsKeyNameSetExplicitly | bool | read | o.IsKeyNameSetExplicitly |
IsReference | bool | read, write | o.IsReference o.IsReference = v |
IsReferenceSetExplicitly | bool | read | o.IsReferenceSetExplicitly |
ValueName | string | read, write | o.ValueName o.ValueName = v |
IsValueNameSetExplicitly | bool | read | o.IsValueNameSetExplicitly |
Members of the base class are inherited.
ContractNamespaceAttribute class sealed · extends Attribute
System.Runtime.Serialization.ContractNamespaceAttribute · assembly System.Runtime.Serialization.Primitives
Constructors
new ContractNamespaceAttribute(string contractNamespace) |
Ring: new ContractNamespaceAttribute(args) uses one constructor; the others are chosen by the parameter names: new ContractNamespaceAttribute().@New([ :param = value ]) or dnNew("ContractNamespaceAttribute",[ :param = value ]).
Properties and fields
| Name | Type | Access | In Ring |
|---|---|---|---|
ClrNamespace | string | read, write | o.ClrNamespace o.ClrNamespace = v |
ContractNamespace | string | read | o.ContractNamespace |
Members of the base class are inherited.
DataContractAttribute class sealed · extends Attribute
System.Runtime.Serialization.DataContractAttribute · assembly System.Runtime.Serialization.Primitives
Constructors
new DataContractAttribute() |
Ring: new DataContractAttribute(args) uses one constructor; the others are chosen by the parameter names: new DataContractAttribute().@New([ :param = value ]) or dnNew("DataContractAttribute",[ :param = value ]).
Properties and fields
| Name | Type | Access | In Ring |
|---|---|---|---|
IsReference | bool | read, write | o.IsReference o.IsReference = v |
IsReferenceSetExplicitly | bool | read | o.IsReferenceSetExplicitly |
Namespace | string | read, write | o.Namespace o.Namespace = v |
IsNamespaceSetExplicitly | bool | read | o.IsNamespaceSetExplicitly |
Name | string | read, write | o.Name o.Name = v |
IsNameSetExplicitly | bool | read | o.IsNameSetExplicitly |
Members of the base class are inherited.
DataContractResolver class abstract
System.Runtime.Serialization.DataContractResolver · assembly System.Private.DataContractSerialization
Methods
| Method | Ring call | .NET overloads |
|---|---|---|
ResolveName | callMethod("ResolveName",[p1,p2,p3,p4]) | Type ResolveName(string typeName, string typeNamespace, Type declaredType, DataContractResolver knownTypeResolver) |
TryResolveType | TryResolveType(p1,p2,p3) | bool TryResolveType(Type type, Type declaredType, DataContractResolver knownTypeResolver, out XmlDictionaryString typeName, out XmlDictionaryString typeNamespace) |
DataContractSerializer class sealed · extends XmlObjectSerializer
System.Runtime.Serialization.DataContractSerializer · assembly System.Private.DataContractSerialization
Constructors
new DataContractSerializer(Type type) |
new DataContractSerializer(Type type, IEnumerable<Type> knownTypes) |
new DataContractSerializer(Type type, string rootName, string rootNamespace) |
new DataContractSerializer(Type type, string rootName, string rootNamespace, IEnumerable<Type> knownTypes) |
new DataContractSerializer(Type type, XmlDictionaryString rootName, XmlDictionaryString rootNamespace) |
new DataContractSerializer(Type type, XmlDictionaryString rootName, XmlDictionaryString rootNamespace, IEnumerable<Type> knownTypes) |
new DataContractSerializer(Type type, DataContractSerializerSettings settings) |
Ring: new DataContractSerializer(args) uses one constructor; the others are chosen by the parameter names: new DataContractSerializer().@New([ :param = value ]) or dnNew("DataContractSerializer",[ :param = value ]).
Properties and fields
| Name | Type | Access | In Ring |
|---|---|---|---|
KnownTypes | ReadOnlyCollection<Type> | read | o.KnownTypes |
MaxItemsInObjectGraph | int | read | o.MaxItemsInObjectGraph |
PreserveObjectReferences | bool | read | o.PreserveObjectReferences |
IgnoreExtensionDataObject | bool | read | o.IgnoreExtensionDataObject |
DataContractResolver | DataContractResolver | read | o.DataContractResolver |
SerializeReadOnlyTypes | bool | read | o.SerializeReadOnlyTypes |
Methods
| Method | Ring call | .NET overloads |
|---|---|---|
IsStartObject | IsStartObject(p1) | bool IsStartObject(XmlReader reader)bool IsStartObject(XmlDictionaryReader reader) |
ReadObject | ReadObject(value)ReadObject([ :reader = … ])ReadObject([ :reader = …, :verifyObjectName = … ])ReadObject([ :reader = …, :verifyObjectName = …, :dataContractResolver = … ]) | object ReadObject(XmlReader reader)object ReadObject(XmlReader reader, bool verifyObjectName)object ReadObject(XmlDictionaryReader reader, bool verifyObjectName)object ReadObject(XmlDictionaryReader reader, bool verifyObjectName, DataContractResolver dataContractResolver) |
WriteEndObject | WriteEndObject(p1) | void WriteEndObject(XmlWriter writer)void WriteEndObject(XmlDictionaryWriter writer) |
WriteObject | WriteObject([ :writer = …, :graph = … ])WriteObject([ :writer = …, :graph = …, :dataContractResolver = … ]) | void WriteObject(XmlWriter writer, object graph)void WriteObject(XmlDictionaryWriter writer, object graph, DataContractResolver dataContractResolver) |
WriteObjectContent | WriteObjectContent(p1,p2) | void WriteObjectContent(XmlWriter writer, object graph)void WriteObjectContent(XmlDictionaryWriter writer, object graph) |
WriteStartObject | WriteStartObject(p1,p2) | void WriteStartObject(XmlWriter writer, object graph)void WriteStartObject(XmlDictionaryWriter writer, object graph) |
Members of the base class are inherited.
DataContractSerializerExtensions class static
System.Runtime.Serialization.DataContractSerializerExtensions · assembly System.Private.DataContractSerialization
Methods
| Method | Ring call | .NET overloads |
|---|---|---|
GetSerializationSurrogateProvider | GetSerializationSurrogateProvider(p1) | static ISerializationSurrogateProvider GetSerializationSurrogateProvider(DataContractSerializer serializer) |
SetSerializationSurrogateProvider | SetSerializationSurrogateProvider(p1,p2) | static void SetSerializationSurrogateProvider(DataContractSerializer serializer, ISerializationSurrogateProvider provider) |
DataContractSerializerSettings class
System.Runtime.Serialization.DataContractSerializerSettings · assembly System.Private.DataContractSerialization
Constructors
new DataContractSerializerSettings() |
Ring: new DataContractSerializerSettings(args) uses one constructor; the others are chosen by the parameter names: new DataContractSerializerSettings().@New([ :param = value ]) or dnNew("DataContractSerializerSettings",[ :param = value ]).
Properties and fields
| Name | Type | Access | In Ring |
|---|---|---|---|
RootName | XmlDictionaryString | read, write | o.RootName o.RootName = v |
RootNamespace | XmlDictionaryString | read, write | o.RootNamespace o.RootNamespace = v |
KnownTypes | IEnumerable<Type> | read, write | o.KnownTypes o.KnownTypes = v |
MaxItemsInObjectGraph | int | read, write | o.MaxItemsInObjectGraph o.MaxItemsInObjectGraph = v |
IgnoreExtensionDataObject | bool | read, write | o.IgnoreExtensionDataObject o.IgnoreExtensionDataObject = v |
PreserveObjectReferences | bool | read, write | o.PreserveObjectReferences o.PreserveObjectReferences = v |
DataContractResolver | DataContractResolver | read, write | o.DataContractResolver o.DataContractResolver = v |
SerializeReadOnlyTypes | bool | read, write | o.SerializeReadOnlyTypes o.SerializeReadOnlyTypes = v |
DataMemberAttribute class sealed · extends Attribute
System.Runtime.Serialization.DataMemberAttribute · assembly System.Runtime.Serialization.Primitives
Constructors
new DataMemberAttribute() |
Ring: new DataMemberAttribute(args) uses one constructor; the others are chosen by the parameter names: new DataMemberAttribute().@New([ :param = value ]) or dnNew("DataMemberAttribute",[ :param = value ]).
Properties and fields
| Name | Type | Access | In Ring |
|---|---|---|---|
Name | string | read, write | o.Name o.Name = v |
IsNameSetExplicitly | bool | read | o.IsNameSetExplicitly |
Order | int | read, write | o.Order o.Order = v |
IsRequired | bool | read, write | o.IsRequired o.IsRequired = v |
EmitDefaultValue | bool | read, write | o.EmitDefaultValue o.EmitDefaultValue = v |
Members of the base class are inherited.
DateTimeFormat class
System.Runtime.Serialization.DateTimeFormat · assembly System.Private.DataContractSerialization
Constructors
new DateTimeFormat(string formatString) |
new DateTimeFormat(string formatString, IFormatProvider formatProvider) |
Ring: new DateTimeFormat(args) uses one constructor; the others are chosen by the parameter names: new DateTimeFormat().@New([ :param = value ]) or dnNew("DateTimeFormat",[ :param = value ]).
Properties and fields
| Name | Type | Access | In Ring |
|---|---|---|---|
FormatString | string | read | o.FormatString |
FormatProvider | IFormatProvider | read | o.FormatProvider |
DateTimeStyles | DateTimeStyles | read, write | o.DateTimeStyles o.DateTimeStyles = v |
EnumMemberAttribute class sealed · extends Attribute
System.Runtime.Serialization.EnumMemberAttribute · assembly System.Runtime.Serialization.Primitives
Constructors
new EnumMemberAttribute() |
Ring: new EnumMemberAttribute(args) uses one constructor; the others are chosen by the parameter names: new EnumMemberAttribute().@New([ :param = value ]) or dnNew("EnumMemberAttribute",[ :param = value ]).
Properties and fields
| Name | Type | Access | In Ring |
|---|---|---|---|
Value | string | read, write | o.Value o.Value = v |
IsValueSetExplicitly | bool | read | o.IsValueSetExplicitly |
Members of the base class are inherited.
ExportOptions class
System.Runtime.Serialization.ExportOptions · assembly System.Private.DataContractSerialization
Constructors
new ExportOptions() |
Ring: new ExportOptions(args) uses one constructor; the others are chosen by the parameter names: new ExportOptions().@New([ :param = value ]) or dnNew("ExportOptions",[ :param = value ]).
Properties and fields
| Name | Type | Access | In Ring |
|---|---|---|---|
DataContractSurrogate | ISerializationSurrogateProvider | read, write | o.DataContractSurrogate o.DataContractSurrogate = v |
KnownTypes | Collection<Type> | read | o.KnownTypes |
ExtensionDataObject class sealed
System.Runtime.Serialization.ExtensionDataObject · assembly System.Private.DataContractSerialization
IExtensibleDataObject interface
System.Runtime.Serialization.IExtensibleDataObject · assembly System.Private.DataContractSerialization
Properties and fields
| Name | Type | Access | In Ring |
|---|---|---|---|
ExtensionData | ExtensionDataObject | read, write | o.ExtensionData o.ExtensionData = v |
IgnoreDataMemberAttribute class sealed · extends Attribute
System.Runtime.Serialization.IgnoreDataMemberAttribute · assembly System.Runtime.Serialization.Primitives
Constructors
new IgnoreDataMemberAttribute() |
Ring: new IgnoreDataMemberAttribute(args) uses one constructor; the others are chosen by the parameter names: new IgnoreDataMemberAttribute().@New([ :param = value ]) or dnNew("IgnoreDataMemberAttribute",[ :param = value ]).
Members of the base class are inherited.
InvalidDataContractException class · extends Exception
System.Runtime.Serialization.InvalidDataContractException · assembly System.Runtime.Serialization.Primitives
Implements: ISerializable
Constructors
new InvalidDataContractException() |
new InvalidDataContractException(string message) |
new InvalidDataContractException(string message, Exception innerException) |
Ring: new InvalidDataContractException(args) uses one constructor; the others are chosen by the parameter names: new InvalidDataContractException().@New([ :param = value ]) or dnNew("InvalidDataContractException",[ :param = value ]).
Members of the base class are inherited.
ISerializationSurrogateProvider interface
System.Runtime.Serialization.ISerializationSurrogateProvider · assembly System.Runtime.Serialization.Primitives
Methods
| Method | Ring call | .NET overloads |
|---|---|---|
GetDeserializedObject | callMethod("GetDeserializedObject",[p1,p2]) | object GetDeserializedObject(object obj, Type targetType) |
GetObjectToSerialize | callMethod("GetObjectToSerialize",[p1,p2]) | object GetObjectToSerialize(object obj, Type targetType) |
GetSurrogateType | callMethod("GetSurrogateType",[p1]) | Type GetSurrogateType(Type type) |
ISerializationSurrogateProvider2 interface
System.Runtime.Serialization.ISerializationSurrogateProvider2 · assembly System.Runtime.Serialization.Primitives
Implements: ISerializationSurrogateProvider
Methods
| Method | Ring call | .NET overloads |
|---|---|---|
GetCustomDataToExport | callMethod("GetCustomDataToExport",[p1,p2]) | object GetCustomDataToExport(MemberInfo memberInfo, Type dataContractType)object GetCustomDataToExport(Type runtimeType, Type dataContractType) |
GetKnownCustomDataTypes | GetKnownCustomDataTypes(p1) | void GetKnownCustomDataTypes(Collection<Type> customDataTypes) |
GetReferencedTypeOnImport | callMethod("GetReferencedTypeOnImport",[p1,p2,p3]) | Type GetReferencedTypeOnImport(string typeName, string typeNamespace, object customData) |
JsonFormatGeneratorStatics class static
System.Runtime.Serialization.JsonFormatGeneratorStatics · assembly System.Private.DataContractSerialization
Properties and fields
| Name | Type | Access | In Ring |
|---|---|---|---|
BoxPointer | MethodInfo | read · static | o.BoxPointer |
CollectionItemNameProperty | PropertyInfo | read · static | o.CollectionItemNameProperty |
ExtensionDataObjectCtor | ConstructorInfo | read · static | o.ExtensionDataObjectCtor |
ExtensionDataProperty | PropertyInfo | read · static | o.ExtensionDataProperty |
GetCurrentMethod | MethodInfo | read · static | o.GetCurrentMethod |
GetItemContractMethod | MethodInfo | read · static | o.GetItemContractMethod |
GetJsonDataContractMethod | MethodInfo | read · static | o.GetJsonDataContractMethod |
GetJsonMemberIndexMethod | MethodInfo | read · static | o.GetJsonMemberIndexMethod |
GetRevisedItemContractMethod | MethodInfo | read · static | o.GetRevisedItemContractMethod |
GetUninitializedObjectMethod | MethodInfo | read · static | o.GetUninitializedObjectMethod |
IsStartElementMethod0 | MethodInfo | read · static | o.IsStartElementMethod0 |
IsStartElementMethod2 | MethodInfo | read · static | o.IsStartElementMethod2 |
LocalNameProperty | PropertyInfo | read · static | o.LocalNameProperty |
NamespaceProperty | PropertyInfo | read · static | o.NamespaceProperty |
MoveNextMethod | MethodInfo | read · static | o.MoveNextMethod |
MoveToContentMethod | MethodInfo | read · static | o.MoveToContentMethod |
NodeTypeProperty | PropertyInfo | read · static | o.NodeTypeProperty |
OnDeserializationMethod | MethodInfo | read · static | o.OnDeserializationMethod |
ReadJsonValueMethod | MethodInfo | read · static | o.ReadJsonValueMethod |
SerializationExceptionCtor | ConstructorInfo | read · static | o.SerializationExceptionCtor |
SerInfoCtorArgs | Type[] | read · static | o.SerInfoCtorArgs |
ThrowDuplicateMemberExceptionMethod | MethodInfo | read · static | o.ThrowDuplicateMemberExceptionMethod |
ThrowMissingRequiredMembersMethod | MethodInfo | read · static | o.ThrowMissingRequiredMembersMethod |
TypeHandleProperty | PropertyInfo | read · static | o.TypeHandleProperty |
UnboxPointer | MethodInfo | read · static | o.UnboxPointer |
UseSimpleDictionaryFormatReadProperty | PropertyInfo | read · static | o.UseSimpleDictionaryFormatReadProperty |
UseSimpleDictionaryFormatWriteProperty | PropertyInfo | read · static | o.UseSimpleDictionaryFormatWriteProperty |
WriteAttributeStringMethod | MethodInfo | read · static | o.WriteAttributeStringMethod |
WriteEndElementMethod | MethodInfo | read · static | o.WriteEndElementMethod |
WriteJsonISerializableMethod | MethodInfo | read · static | o.WriteJsonISerializableMethod |
WriteJsonNameWithMappingMethod | MethodInfo | read · static | o.WriteJsonNameWithMappingMethod |
WriteJsonValueMethod | MethodInfo | read · static | o.WriteJsonValueMethod |
WriteStartElementMethod | MethodInfo | read · static | o.WriteStartElementMethod |
WriteStartElementStringMethod | MethodInfo | read · static | o.WriteStartElementStringMethod |
ParseEnumMethod | MethodInfo | read · static | o.ParseEnumMethod |
GetJsonMemberNameMethod | MethodInfo | read · static | o.GetJsonMemberNameMethod |
KnownTypeAttribute class sealed · extends Attribute
System.Runtime.Serialization.KnownTypeAttribute · assembly System.Runtime.Serialization.Primitives
Constructors
new KnownTypeAttribute(Type type) |
new KnownTypeAttribute(string methodName) |
Ring: new KnownTypeAttribute(args) uses one constructor; the others are chosen by the parameter names: new KnownTypeAttribute().@New([ :param = value ]) or dnNew("KnownTypeAttribute",[ :param = value ]).
Properties and fields
| Name | Type | Access | In Ring |
|---|---|---|---|
MethodName | string | read | o.MethodName |
Type | Type | read | o.Type |
Members of the base class are inherited.
SerializationBinder class abstract
System.Runtime.Serialization.SerializationBinder · assembly System.Runtime.Serialization.Formatters
Methods
| Method | Ring call | .NET overloads |
|---|---|---|
BindToName | BindToName(p1) | void BindToName(Type serializedType, out string assemblyName, out string typeName) |
BindToType | callMethod("BindToType",[p1,p2]) | Type BindToType(string assemblyName, string typeName) |
TypeLoadExceptionHolder class sealed
System.Runtime.Serialization.TypeLoadExceptionHolder · assembly System.Runtime.Serialization.Formatters
XmlObjectSerializer class abstract
System.Runtime.Serialization.XmlObjectSerializer · assembly System.Private.DataContractSerialization
Methods
| Method | Ring call | .NET overloads |
|---|---|---|
IsStartObject | IsStartObject(p1) | bool IsStartObject(XmlReader reader)bool IsStartObject(XmlDictionaryReader reader) |
ReadObject | ReadObject(value)ReadObject([ :stream = … ])ReadObject([ :reader = … ])ReadObject([ :reader = …, :verifyObjectName = … ]) | object ReadObject(Stream stream)object ReadObject(XmlReader reader)object ReadObject(XmlDictionaryReader reader)object ReadObject(XmlReader reader, bool verifyObjectName)object ReadObject(XmlDictionaryReader reader, bool verifyObjectName) |
WriteEndObject | WriteEndObject(p1) | void WriteEndObject(XmlDictionaryWriter writer)void WriteEndObject(XmlWriter writer) |
WriteObject | WriteObject(p1,p2) | void WriteObject(Stream stream, object graph)void WriteObject(XmlWriter writer, object graph)void WriteObject(XmlDictionaryWriter writer, object graph) |
WriteObjectContent | WriteObjectContent(p1,p2) | void WriteObjectContent(XmlDictionaryWriter writer, object graph)void WriteObjectContent(XmlWriter writer, object graph) |
WriteStartObject | WriteStartObject(p1,p2) | void WriteStartObject(XmlDictionaryWriter writer, object graph)void WriteStartObject(XmlWriter writer, object graph) |
XmlSerializableServices class static
System.Runtime.Serialization.XmlSerializableServices · assembly System.Private.DataContractSerialization
Methods
| Method | Ring call | .NET overloads |
|---|---|---|
AddDefaultSchema | AddDefaultSchema(p1,p2) | static void AddDefaultSchema(XmlSchemaSet schemas, XmlQualifiedName typeQName) |
ReadNodes | ReadNodes(p1) | static XmlNode[] ReadNodes(XmlReader xmlReader) |
WriteNodes | WriteNodes(p1,p2) | static void WriteNodes(XmlWriter xmlWriter, XmlNode[] nodes) |
XPathQueryGenerator class static
System.Runtime.Serialization.XPathQueryGenerator · assembly System.Private.DataContractSerialization
Methods
| Method | Ring call | .NET overloads |
|---|---|---|
CreateFromDataContractSerializer | CreateFromDataContractSerializer([ :type = …, :pathToMember = …, :namespaces = … ])CreateFromDataContractSerializer([ :type = …, :pathToMember = …, :rootElementXpath = …, :namespaces = … ]) | static string CreateFromDataContractSerializer(Type type, MemberInfo[] pathToMember, out XmlNamespaceManager namespaces)static string CreateFromDataContractSerializer(Type type, MemberInfo[] pathToMember, StringBuilder rootElementXpath, out XmlNamespaceManager namespaces) |
XsdDataContractExporter class
System.Runtime.Serialization.XsdDataContractExporter · assembly System.Private.DataContractSerialization
Constructors
new XsdDataContractExporter() |
new XsdDataContractExporter(XmlSchemaSet schemas) |
Ring: new XsdDataContractExporter(args) uses one constructor; the others are chosen by the parameter names: new XsdDataContractExporter().@New([ :param = value ]) or dnNew("XsdDataContractExporter",[ :param = value ]).
Properties and fields
| Name | Type | Access | In Ring |
|---|---|---|---|
Options | ExportOptions | read, write | o.Options o.Options = v |
Schemas | XmlSchemaSet | read | o.Schemas |
Methods
| Method | Ring call | .NET overloads |
|---|---|---|
CanExport | CanExport(p1) | bool CanExport(ICollection<Assembly> assemblies)bool CanExport(ICollection<Type> types)bool CanExport(Type type) |
Export | Export(p1) | void Export(ICollection<Assembly> assemblies)void Export(ICollection<Type> types)void Export(Type type) |
GetRootElementName | callMethod("GetRootElementName",[p1]) | XmlQualifiedName GetRootElementName(Type type) |
GetSchemaType | callMethod("GetSchemaType",[p1]) | XmlSchemaType GetSchemaType(Type type) |
GetSchemaTypeName | callMethod("GetSchemaTypeName",[p1]) | XmlQualifiedName GetSchemaTypeName(Type type) |