src/openSourceC.DotNetLibrary.Legacy/ProviderSystem/ProxyProvider.cs
/// <summary>
///		Creates a provider instance that implements <typeparamref name="TInterface"/>.
/// </summary>
/// <typeparam name="TSettingsElement">The settings element type.</typeparam>
/// <typeparam name="TInterface">The interface type.</typeparam>
/// <param name="appDomain">The <see cref="T:AppDomain"/> instantiate the provider is, or
///		<b>null</b> to use the current <see cref="T:AppDomain"/>.</param>
/// <param name="settings">The <typeparamref name="TSettingsElement"/>
///		object.</param>
/// <param name="args">The arguments to pass to the constructor. This array of arguments
///		must match in number, order, and type the parameters of the constructor to invoke.
///		If the default constructor is preferred, <paramref name="args"/> must be an empty
///		array or null.</param>
/// <returns>
///		A <see cref="T:KeyedAbstractProvider&lt;TSettingsElement&gt;"/>
///		instance that implements <typeparamref name="TInterface"/>.
/// </returns>
Creates a provider instance that implements .
Creates a provider instance that implements .
public static TInterface CreateInstance<TSettingsElement, TInterface>(
			AppDomain appDomain,
			TSettingsElement settings,
			params object[] args
		)
			where TSettingsElement : NamedProviderElement, new()
			where TInterface : class
		{
			return KeyedAbstractProvider<TSettingsElement>.CreateInstance<TInterface>(
				appDomain,
				settings,
				args
			);
		}
public static TInterface CreateInstance < TSettingsElement , TInterface > ( AppDomain appDomain , TSettingsElement settings , params object [ ] args ) where TSettingsElement : NamedProviderElement , new ( ) where TInterface : class { return KeyedAbstractProvider < TSettingsElement > . CreateInstance < TInterface > ( appDomain , settings , args ) ; }
Creates a provider instance that implements .
Creates a provider instance that implements .
A
instance that implements .
A instance that implements .
appDomain
AppDomain
The  instantiate the provider is, or
null.
The instantiate the provider is or null .
settings
TSettingsElement
None
args
The arguments to pass to the constructor. This array of arguments
must match in number, order, and type the parameters of the constructor to invoke.
If the default constructor is preferred,  must be an empty
array or null.
The arguments to pass to the constructor . This array of arguments must match in number order and type the parameters of the constructor to invoke . If the default constructor is preferred must be an empty array or null .
typeparam
The settings element type.
The settings element type .
typeparam
The interface type.
The interface type .