C# Class Thinktecture.ServiceModel.Description.PrefixContractSerializerOperationBehavior

Inheritance: System.ServiceModel.Description.DataContractSerializerOperationBehavior
ファイルを表示 Open project: ChristianWeyer/Thinktecture.ServiceModel Class Usage Examples

Public Methods

Method Description
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.

Private Methods

Method Description
AddPrefixes ( PrefixDataContractSerializer serializer ) : void

Method Details

CreateSerializer() public method

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.
return System.Runtime.Serialization.XmlObjectSerializer

CreateSerializer() public method

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.
return System.Runtime.Serialization.XmlObjectSerializer

PrefixContractSerializerOperationBehavior() public method

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.
return System