C# 클래스 XSerializer.XmlSerializer

A factory class that creates instances of the IXSerializer interface.
An instance of the generic XmlSerializer{T} class is returned from each method in this class.
파일 보기 프로젝트 열기: QuickenLoans/XSerializer 1 사용 예제들

공개 메소드들

메소드 설명
Create ( Type type ) : IXSerializer

Create an instance of IXSerializer for the given type using a default configuration.

An instance of the generic XmlSerializer{T} class of type type is returned from this method.

Create ( Type type, Action setOptions ) : IXSerializer

Create an instance of IXSerializer for the given type using a default configuration.

An instance of the generic XmlSerializer{T} class of type type is returned from this method.

Create ( Type type, XSerializer.XmlSerializationOptions options ) : IXSerializer

Create an instance of IXSerializer for the given type using a default configuration.

An instance of the generic XmlSerializer{T} class of type type is returned from this method.

비공개 메소드들

메소드 설명
GetSerializationOptions ( Action setOptions ) : XSerializer.XmlSerializationOptions

메소드 상세

Create() 공개 정적인 메소드

Create an instance of IXSerializer for the given type using a default configuration.
An instance of the generic XmlSerializer{T} class of type type is returned from this method.
public static Create ( Type type ) : IXSerializer
type System.Type The type of the object that the serializer will operate on.
리턴 IXSerializer

Create() 공개 정적인 메소드

Create an instance of IXSerializer for the given type using a default configuration.
An instance of the generic XmlSerializer{T} class of type type is returned from this method.
public static Create ( Type type, Action setOptions ) : IXSerializer
type System.Type The type of the object that the serializer will operate on.
setOptions Action A callback for setting options.
리턴 IXSerializer

Create() 공개 정적인 메소드

Create an instance of IXSerializer for the given type using a default configuration.
An instance of the generic XmlSerializer{T} class of type type is returned from this method.
public static Create ( Type type, XSerializer.XmlSerializationOptions options ) : IXSerializer
type System.Type The type of the object that the serializer will operate on.
options XSerializer.XmlSerializationOptions Options.
리턴 IXSerializer