Interface IBaseLibraryFactory

Summary description for IBaseLibraryFactory.

Namespace: EPiServer.BaseLibrary
Assembly: EPiServer.BaseLibrary.dll
Version: 8.11.0
Syntax
public interface IBaseLibraryFactory : IClassFactory

Methods

CreateContext()

Declaration
IContext CreateContext()
Returns
Type Description
IContext

CreateItem(Object, String)

Declaration
IItem CreateItem(object id, string name)
Parameters
Type Name Description
System.Object id
System.String name
Returns
Type Description
IItem

CreateItemList<IDTYPE, ITEMTYPE>(Object)

Declaration
IItemList<IDTYPE, ITEMTYPE> CreateItemList<IDTYPE, ITEMTYPE>(object containerId)

    where ITEMTYPE : IItem
Parameters
Type Name Description
System.Object containerId
Returns
Type Description
IItemList<IDTYPE, ITEMTYPE>
Type Parameters
Name Description
IDTYPE
ITEMTYPE

CreateItemList<IDTYPE, ITEMTYPE>(Object, Boolean)

Declaration
IItemList<IDTYPE, ITEMTYPE> CreateItemList<IDTYPE, ITEMTYPE>(object containerId, bool includeSubclasses)

    where ITEMTYPE : IItem
Parameters
Type Name Description
System.Object containerId
System.Boolean includeSubclasses
Returns
Type Description
IItemList<IDTYPE, ITEMTYPE>
Type Parameters
Name Description
IDTYPE
ITEMTYPE

CreateItemList<IDTYPE, ITEMTYPE>(String)

Declaration
IItemList<IDTYPE, ITEMTYPE> CreateItemList<IDTYPE, ITEMTYPE>(string containerPath)

    where ITEMTYPE : IItem
Parameters
Type Name Description
System.String containerPath
Returns
Type Description
IItemList<IDTYPE, ITEMTYPE>
Type Parameters
Name Description
IDTYPE
ITEMTYPE

CreateItemList<IDTYPE, ITEMTYPE>(String, Boolean)

Declaration
IItemList<IDTYPE, ITEMTYPE> CreateItemList<IDTYPE, ITEMTYPE>(string containerPath, bool includeSubclasses)

    where ITEMTYPE : IItem
Parameters
Type Name Description
System.String containerPath
System.Boolean includeSubclasses
Returns
Type Description
IItemList<IDTYPE, ITEMTYPE>
Type Parameters
Name Description
IDTYPE
ITEMTYPE

CreateRepository()

Declaration
IRepository CreateRepository()
Returns
Type Description
IRepository

CreateSchema(String)

Declaration
ISchema CreateSchema(string schemaId)
Parameters
Type Name Description
System.String schemaId
Returns
Type Description
ISchema

CreateSession(IObjectStore)

Declaration
ISession CreateSession(IObjectStore objectStore)
Parameters
Type Name Description
IObjectStore objectStore
Returns
Type Description
ISession

Extension Methods