C# 클래스 Thinktecture.ServiceModel.Description.PrefixContractSerializerOperationBehavior

상속: System.ServiceModel.Description.DataContractSerializerOperationBehavior
파일 보기 프로젝트 열기: ChristianWeyer/Thinktecture.ServiceModel 1 사용 예제들

공개 메소드들

메소드 설명
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