C# Class EmptyMatcher, simplexml

The EmptyMatcher object is used as a delegate type that is used when no user specific matcher is specified. This ensures that no transform is resolved for a specified type, and allows the normal resolution of the stock transforms.
Inheritance: Matcher
Mostrar archivo Open project: ngallagher/simplexml Class Usage Examples

Public Methods

Method Description
Match ( Class, type ) : Transform,

This method is used to return a null value for the transform. Returning a null value allows the normal resolution of the stock transforms to be used when no matcher is specified.

Method Details

Match() public method

This method is used to return a null value for the transform. Returning a null value allows the normal resolution of the stock transforms to be used when no matcher is specified.
public Match ( Class, type ) : Transform,
type Class, /// this is the type that is expecting a transform ///
return Transform,