C# Class ArrayMatcher, simplexml

Mostrar archivo Open project: ngallagher/simplexml Class Usage Examples

Public Methods

Method Description
ArrayMatcher ( Matcher primary ) : System

Constructor for the ArrayTransform object. This is used to match array types to their respective transform using the ArrayTransform object. This will use a comma separated list of tokens to populate the array.

Match ( Class, type ) : Transform,

This is used to match a Transform based on the array component type of an object to be transformed. This will attempt to match the transform using the fully qualified class name of the array component type. If a transform can not be found then this method will throw an exception.

MatchArray ( Class, entry ) : Transform,

This is used to match a Transform based on the array component type of an object to be transformed. This will attempt to match the transform using the fully qualified class name of the array component type. If a transform can not be found then this method will throw an exception.

Method Details

ArrayMatcher() public method

Constructor for the ArrayTransform object. This is used to match array types to their respective transform using the ArrayTransform object. This will use a comma separated list of tokens to populate the array.
public ArrayMatcher ( Matcher primary ) : System
primary Matcher /// this is the primary matcher to be used ///
return System

Match() public method

This is used to match a Transform based on the array component type of an object to be transformed. This will attempt to match the transform using the fully qualified class name of the array component type. If a transform can not be found then this method will throw an exception.
public Match ( Class, type ) : Transform,
type Class, /// this is the array to find the transform for ///
return Transform,

MatchArray() public method

This is used to match a Transform based on the array component type of an object to be transformed. This will attempt to match the transform using the fully qualified class name of the array component type. If a transform can not be found then this method will throw an exception.
public MatchArray ( Class, entry ) : Transform,
entry Class, /// this is the array component type to be matched ///
return Transform,