View Source
Class ContentStore.Snapshot
Inheritance
System.Object
Assembly: Umbraco.PublishedCache.NuCache.dll
Syntax
public class Snapshot : IDisposable
Properties
View Source
Gen
Declaration
Property Value
Type |
Description |
System.Int64 |
|
View Source
IsEmpty
Declaration
public bool IsEmpty { get; }
Property Value
Type |
Description |
System.Boolean |
|
Methods
View Source
Dispose()
Declaration
View Source
Get(Guid)
Declaration
public ContentNode Get(Guid id)
Parameters
Type |
Name |
Description |
Guid |
id |
|
Returns
View Source
Get(Int32)
Declaration
public ContentNode Get(int id)
Parameters
Type |
Name |
Description |
System.Int32 |
id |
|
Returns
View Source
GetAll()
Declaration
public IEnumerable<ContentNode> GetAll()
Returns
View Source
GetAtRoot()
Declaration
public IEnumerable<ContentNode> GetAtRoot()
Returns
View Source
GetContentType(Guid)
Declaration
public IPublishedContentType? GetContentType(Guid key)
Parameters
Type |
Name |
Description |
Guid |
key |
|
Returns
Type |
Description |
System.Nullable<IPublishedContentType> |
|
View Source
GetContentType(Int32)
Declaration
public IPublishedContentType? GetContentType(int id)
Parameters
Type |
Name |
Description |
System.Int32 |
id |
|
Returns
Type |
Description |
System.Nullable<IPublishedContentType> |
|
View Source
GetContentType(String)
Declaration
public IPublishedContentType? GetContentType(string alias)
Parameters
Type |
Name |
Description |
System.String |
alias |
|
Returns
Type |
Description |
System.Nullable<IPublishedContentType> |
|