Interface IClassFactory
Summary description for IClassFactory.
Assembly: EPiServer.BaseLibrary.dll
Version: 8.11.0
Syntax
public interface IClassFactory
Properties
FactoryId
Declaration
string FactoryId { get; }
Property Value
Type |
Description |
System.String |
|
Methods
ClearRegistrations()
Declaration
void ClearRegistrations()
CreateInstance(Type, Object[])
Declaration
object CreateInstance(Type baseType, params object[] constructorArguments)
Parameters
Type |
Name |
Description |
System.Type |
baseType |
|
System.Object[] |
constructorArguments |
|
Returns
Type |
Description |
System.Object |
|
IsRegistered(Type)
Declaration
bool IsRegistered(Type baseType)
Parameters
Type |
Name |
Description |
System.Type |
baseType |
|
Returns
Type |
Description |
System.Boolean |
|
RegisterClass(Type, Type)
Declaration
void RegisterClass(Type baseType, Type mappedType)
Parameters
Type |
Name |
Description |
System.Type |
baseType |
|
System.Type |
mappedType |
|
Extension Methods