Interface IPublishedSnapshotAccessor
Provides access to a TryGetPublishedSnapshot bool method that will return true if the "current" IPublishedSnapshot is not null.
Namespace: Umbraco.Cms.Core.PublishedCache
Assembly: Umbraco.Core.dll
Syntax
public interface IPublishedSnapshotAccessor
Methods
View SourceTryGetPublishedSnapshot(out IPublishedSnapshot)
Declaration
bool TryGetPublishedSnapshot(out IPublishedSnapshot publishedSnapshot)
Parameters
Type | Name | Description |
---|---|---|
IPublishedSnapshot | publishedSnapshot |
Returns
Type | Description |
---|---|
System.Boolean |