C# Class SimpleFramework.Xml.Strategy.Loader

The Loader object is used to provide class loading for the strategies. This will attempt to load the class using the thread context class loader, if this loader is set it will be used to load the class. If not then the class will be loaded using the caller class loader. Loading in this way ensures that a custom loader can be provided using the current thread.
Exibir arquivo Open project: ngallagher/simplexml Class Usage Examples

Public Methods

Method Description
Load ( String type ) : Class

This method is used to acquire the class of the specified name. Loading is performed by the thread context class loader as this will ensure that the class loading strategy can be changed as requirements dictate. Typically the thread context class loader can handle all serialization requirements.

Method Details

Load() public method

This method is used to acquire the class of the specified name. Loading is performed by the thread context class loader as this will ensure that the class loading strategy can be changed as requirements dictate. Typically the thread context class loader can handle all serialization requirements.
public Load ( String type ) : Class
type String /// this is the name of the class that is to be loaded ///
return Class