Click or drag to resize

ContentStore Class


The entry object to Ingeniux Content Store API. It is in charge of creating all communication sessions with the content store. This object should only be created once per app domain.
Inheritance Hierarchy
SystemObject
  Ingeniux.CMSContentStore

Namespace:  Ingeniux.CMS
Assembly:  Ingeniux.CMS.CSAPI (in Ingeniux.CMS.CSAPI.dll) Version: 10.3.169
Syntax
public class ContentStore : IContentStore, 
	IDisposable, IContentStoreEvents, IEntityEvents, IPublishingTargetEvents, IPublishingTaskEvents, 
	IPageEvents, IAssetEvents, ISiteEvents, IAssetManagerEvents, ITaxonomyEvents, 
	IUserEvents, IUserGroupEvents, IWorkflowTransitionEvents, ICategoryEvents, IRegisteredObject
Constructors
  NameDescription
Public methodContentStore
Initializes a new instance of the ContentStore class. Connection string and XML directory information are retrieved from the application configuration file (web.config or app.config).
Public methodContentStore(String, DirectoryInfo)
Initializes a new instance of the ContentStore class, connecting to a content store via an embedded client.
Public methodContentStore(String, String, Boolean)
Initializes a new instance of the ContentStore class, connecting to a content store via HTTP.
Top
Remarks
For detailed members information, please refers to the interfaces IContentStore and IUserInit.
Examples
C#
IContentStore contentStore = new ContentStore("http://cms.yourfirm.com/testsite1/contentstore", "d:\IGX_Sites\cms\90\testsite1\App_Data\xml");
See Also