C# 클래스 SimpleFramework.Xml.Core.AnnotationFactory

The AnnotationFactory is used to create annotations using a given class. This will classify the provided type as either a list, map, array, or a default object. Depending on the type provided a suitable annotation will be created. Annotations produced by this will have default attribute values.
파일 보기 프로젝트 열기: ngallagher/simplexml 1 사용 예제들

공개 메소드들

메소드 설명
GetInstance ( Class type ) : Annotation

This is used to create an annotation for the provided type. Annotations created are used to match the type provided. So a List will have an ElementList annotation for example. Matching the annotation to the type ensures the best serialization for that type.

GetInstance ( loader ElementMap ) : SimpleFramework.Xml

메소드 상세

GetInstance() 공개 메소드

This is used to create an annotation for the provided type. Annotations created are used to match the type provided. So a List will have an ElementList annotation for example. Matching the annotation to the type ensures the best serialization for that type.
public GetInstance ( Class type ) : Annotation
type Class /// the type to create the annotation for ///
리턴 Annotation

GetInstance() 공개 메소드

public GetInstance ( loader ElementMap ) : SimpleFramework.Xml
ElementMap loader
리턴 SimpleFramework.Xml