Interface ICMSContext
Describes context under which CMS operations take place. The context should be obrtained via a call to Portal.GetCMSContext()
Inherited Members
      System.IDisposable.Dispose()
    
  Namespace: NFX.Wave.CMS
Assembly: NFX.Wave.dll
Syntax
public interface ICMSContext : IDisposable
  Properties
Portal
References a portal for which the operations are performed
Declaration
Portal Portal { get; }
  Property Value
| Type | Description | 
|---|---|
| Portal | 
Root
Gets root namespace for portal
Declaration
DirectoryResource Root { get; }
  Property Value
| Type | Description | 
|---|---|
| DirectoryResource | 
Version
Returns version that this CMS context "sees".
Declaration
IFileSystemVersion Version { get; }
  Property Value
| Type | Description | 
|---|---|
| IFileSystemVersion | 
VersionID
Returns an ID of the version that this CMS context "sees". Use CMSBank.GetVersionByID() to get IFileSystemVersion
Declaration
int VersionID { get; }
  Property Value
| Type | Description | 
|---|---|
| System.Int32 | 
Methods
TryNavigate(String, ICacheParams)
Retrievs CMS Item by path or null if not found
Declaration
Resource TryNavigate(string path, ICacheParams caching = null)
  Parameters
| Type | Name | Description | 
|---|---|---|
| System.String | path | |
| ICacheParams | caching | 
Returns
| Type | Description | 
|---|---|
| Resource |