View Source
Class MemberCache
Inheritance
System.Object
Assembly: Umbraco.PublishedCache.NuCache.dll
Syntax
public class MemberCache : IPublishedMemberCache
Constructors
View Source
MemberCache(Boolean, PublishedContentTypeCache, IPublishedSnapshotAccessor, IVariationContextAccessor, IPublishedModelFactory)
Declaration
public MemberCache(bool previewDefault, PublishedContentTypeCache contentTypeCache, IPublishedSnapshotAccessor publishedSnapshotAccessor, IVariationContextAccessor variationContextAccessor, IPublishedModelFactory publishedModelFactory)
Parameters
Type |
Name |
Description |
System.Boolean |
previewDefault |
|
PublishedContentTypeCache |
contentTypeCache |
|
IPublishedSnapshotAccessor |
publishedSnapshotAccessor |
|
IVariationContextAccessor |
variationContextAccessor |
|
IPublishedModelFactory |
publishedModelFactory |
|
Methods
View Source
Dispose()
Declaration
View Source
Dispose(Boolean)
Declaration
protected virtual void Dispose(bool disposing)
Parameters
Type |
Name |
Description |
System.Boolean |
disposing |
|
View Source
Get(IMember)
Declaration
public IPublishedContent? Get(IMember member)
Parameters
Type |
Name |
Description |
IMember |
member |
|
Returns
Type |
Description |
System.Nullable<IPublishedContent> |
|
View Source
GetContentType(Int32)
Declaration
public IPublishedContentType GetContentType(int id)
Parameters
Type |
Name |
Description |
System.Int32 |
id |
|
Returns
Type |
Description |
IPublishedContentType |
|
View Source
GetContentType(String)
Declaration
public IPublishedContentType GetContentType(string alias)
Parameters
Type |
Name |
Description |
System.String |
alias |
|
Returns
Type |
Description |
IPublishedContentType |
|