View Source
Class PublishedSnapshot
Inheritance
System.Object
Assembly: Umbraco.PublishedCache.NuCache.dll
Syntax
public class PublishedSnapshot : IPublishedSnapshot
Constructors
View Source
PublishedSnapshot(IPublishedSnapshotService, Boolean)
Declaration
public PublishedSnapshot(IPublishedSnapshotService service, bool defaultPreview)
Parameters
Type |
Name |
Description |
IPublishedSnapshotService |
service |
|
System.Boolean |
defaultPreview |
|
Properties
View Source
Content
Declaration
public IPublishedContentCache? Content { get; }
Property Value
Type |
Description |
System.Nullable<IPublishedContentCache> |
|
View Source
Domains
Declaration
public IDomainCache? Domains { get; }
Property Value
Type |
Description |
System.Nullable<IDomainCache> |
|
View Source
ElementsCache
Declaration
public IAppCache? ElementsCache { get; }
Property Value
Type |
Description |
System.Nullable<IAppCache> |
|
View Source
Declaration
public IPublishedMediaCache? Media { get; }
Property Value
Type |
Description |
System.Nullable<IPublishedMediaCache> |
|
View Source
Members
Declaration
public IPublishedMemberCache? Members { get; }
Property Value
Type |
Description |
System.Nullable<IPublishedMemberCache> |
|
View Source
SnapshotCache
Declaration
public IAppCache? SnapshotCache { get; }
Property Value
Type |
Description |
System.Nullable<IAppCache> |
|
Methods
View Source
Dispose()
Declaration
View Source
ForcedPreview(Boolean, Nullable<Action<Boolean>>)
Declaration
public IDisposable ForcedPreview(bool preview, Action<bool>? callback = null)
Parameters
Type |
Name |
Description |
System.Boolean |
preview |
|
System.Nullable<Action<System.Boolean>> |
callback |
|
Returns
Type |
Description |
IDisposable |
|
View Source
Resync()
Declaration