ISite
|
The ISiteMap type exposes the following members.
| Name | Description | |
|---|---|---|
| ContentStore |
Gets the Content Store.
(Inherited from ITransactionalEntity) | |
| CurrentUser |
Gets the Operating User for the Session .
(Inherited from ITransactionalEntity) | |
| Session |
Gets the User Session that this manager instance was initiated from.
(Inherited from ITransactionalEntity) |
| Name | Description | |
|---|---|---|
| AddSite | Adds a new site branding to a collection. | |
| AddUserAgent | Adds a new user agent branding to a collection. | |
| DeepCloneT, TManager |
Duplicates an object instance, not including its unique ID.
(Inherited from ITransactionalEntity) | |
| QuickWrite |
Creates a temporary Write Session to quickly write something outside the current Session and transaction.
This is a way to bypass the transaction and quickly put something into the content store.
(Inherited from ITransactionalEntity) | |
| RemoveSite | Removes a site branding from a collection. | |
| RemoveUserAgent | Removes a user agent branding from a collection. | |
| ReorderSites | Reorders site branding with given order of user agent names. | |
| ReorderUserAgents | Reorders user agent branding with given order of user agent names. | |
| Site | Gets a site branding by its name. | |
| Sites | Gets a paginated list of site brandings. | |
| UpdateSite | Updates content of a site branding instance. | |
| UpdateUserAgent | Updates content of a user agent branding instance. | |
| UserAgent | Gets a user agent branding by its name | |
| UserAgents | Gets a paginated list of user agents. |
Like all manager objects, instances of this manager are retrieved from an IUserSession object, and it only works within this session.
using (IUserSession session = store.OpenReadSession(currentUser))
{
ISiteMap siteMap= session.SiteMap;
...
}