C# Класс Thinktecture.ServiceModel.Description.PrefixContractSerializerOperationBehavior

Наследование: System.ServiceModel.Description.DataContractSerializerOperationBehavior
Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
CreateSerializer ( Type type, XmlDictionaryString name, XmlDictionaryString ns, IList knownTypes ) : XmlObjectSerializer

Creates an instance of a class that inherits from T:System.Runtime.Serialization.XmlObjectSerializer for serialization and deserialization operations with an T:System.Xml.XmlDictionaryString that contains the namespace.

CreateSerializer ( Type type, string name, string ns, IList knownTypes ) : XmlObjectSerializer

Creates an instance of a class that inherits from T:System.Runtime.Serialization.XmlObjectSerializer for serialization and deserialization operations.

PrefixContractSerializerOperationBehavior ( OperationDescription operationDescription, RegisterNamespacePrefixAttribute attributes ) : System

Initializes a new instance of the PrefixContractSerializerOperationBehavior class.

Приватные методы

Метод Описание
AddPrefixes ( PrefixDataContractSerializer serializer ) : void

Описание методов

CreateSerializer() публичный Метод

Creates an instance of a class that inherits from T:System.Runtime.Serialization.XmlObjectSerializer for serialization and deserialization operations with an T:System.Xml.XmlDictionaryString that contains the namespace.
public CreateSerializer ( Type type, XmlDictionaryString name, XmlDictionaryString ns, IList knownTypes ) : XmlObjectSerializer
type System.Type The type to serialize or deserialize.
name System.Xml.XmlDictionaryString The name of the serialized type.
ns System.Xml.XmlDictionaryString An that contains the namespace of the serialized type.
knownTypes IList An of that contains known types.
Результат System.Runtime.Serialization.XmlObjectSerializer

CreateSerializer() публичный Метод

Creates an instance of a class that inherits from T:System.Runtime.Serialization.XmlObjectSerializer for serialization and deserialization operations.
public CreateSerializer ( Type type, string name, string ns, IList knownTypes ) : XmlObjectSerializer
type System.Type The to create the serializer for.
name string The name of the generated type.
ns string The namespace of the generated type.
knownTypes IList An of that contains known types.
Результат System.Runtime.Serialization.XmlObjectSerializer

PrefixContractSerializerOperationBehavior() публичный Метод

Initializes a new instance of the PrefixContractSerializerOperationBehavior class.
public PrefixContractSerializerOperationBehavior ( OperationDescription operationDescription, RegisterNamespacePrefixAttribute attributes ) : System
operationDescription System.ServiceModel.Description.OperationDescription The operation description.
attributes RegisterNamespacePrefixAttribute The attributes.
Результат System