C# Class Thinktecture.ServiceModel.Description.PrefixContractSerializerOperationBehavior

Inheritance: System.ServiceModel.Description.DataContractSerializerOperationBehavior
Afficher le fichier Open project: ChristianWeyer/Thinktecture.ServiceModel Class Usage Examples

Méthodes publiques

Méthode 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

Méthode Description
AddPrefixes ( PrefixDataContractSerializer serializer ) : void

Method Details

CreateSerializer() public méthode

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.
Résultat System.Runtime.Serialization.XmlObjectSerializer

CreateSerializer() public méthode

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.
Résultat System.Runtime.Serialization.XmlObjectSerializer

PrefixContractSerializerOperationBehavior() public méthode

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.
Résultat System