C# 클래스 PrimitiveMatcher, simplexml

The PrimitiveMatcher object is used to resolve the primitive types to a stock transform. This will basically use a transform that is used with the primitives language object. This will always return a suitable transform for a primitive.
상속: Matcher
파일 보기 프로젝트 열기: ngallagher/simplexml

공개 메소드들

메소드 설명
Match ( Class, type ) : Transform,

This method is used to match the specified type to primitive transform implementations. If this is given a primitive then it will always return a suitable Transform. If however it is given an object type an exception is thrown.

PrimitiveMatcher ( ) : System

Constructor for the PrimitiveMatcher object. The primitive matcher is used to resolve a transform instance to convert primitive types to an from strings. If a match is not found with this matcher then an exception is thrown.

메소드 상세

Match() 공개 메소드

This method is used to match the specified type to primitive transform implementations. If this is given a primitive then it will always return a suitable Transform. If however it is given an object type an exception is thrown.
public Match ( Class, type ) : Transform,
type Class, /// this is the primitive type to be transformed ///
리턴 Transform,

PrimitiveMatcher() 공개 메소드

Constructor for the PrimitiveMatcher object. The primitive matcher is used to resolve a transform instance to convert primitive types to an from strings. If a match is not found with this matcher then an exception is thrown.
public PrimitiveMatcher ( ) : System
리턴 System