Class ProviderAwareContentVersionRepository
Unsupported INTERNAL API! Not covered by semantic versioning; might change without notice.
Inheritance
System.Object
ProviderAwareContentVersionRepository
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Assembly: EPiServer.dll
Version: 10.10.4
Syntax
[ServiceConfiguration(ServiceType = typeof(IContentVersionRepository), FactoryMember = "Instance", Lifecycle = ServiceInstanceScope.Singleton)]
[ServiceConfiguration(ServiceType = typeof(ProviderAwareContentVersionRepository), Lifecycle = ServiceInstanceScope.Singleton)]
public class ProviderAwareContentVersionRepository : IContentVersionRepository
Constructors
ProviderAwareContentVersionRepository(DefaultContentEvents, IContentProviderManager, IContentLoader, IPermanentLinkMapper, ContentAccessChecker, IContentLanguageAccessor, IContentCacheHandler)
Declaration
public ProviderAwareContentVersionRepository(DefaultContentEvents eventHandler, IContentProviderManager providerManager, IContentLoader contentLoader, IPermanentLinkMapper permanentLinkMapper, ContentAccessChecker accessChecker, IContentLanguageAccessor languageAccessor, IContentCacheHandler contentCacheHandler)
Parameters
Properties
Instance
Declaration
public static ProviderAwareContentVersionRepository Instance { get; }
Property Value
Methods
Delete(ContentReference)
Declaration
public virtual void Delete(ContentReference contentLink)
Parameters
Delete(ContentReference, AccessLevel)
Declaration
public virtual void Delete(ContentReference contentLink, AccessLevel access)
Parameters
List(VersionFilter, Int32, Int32, out Int32)
Declaration
public IEnumerable<ContentVersion> List(VersionFilter filter, int startIndex, int maxRows, out int totalCount)
Parameters
Type |
Name |
Description |
VersionFilter |
filter |
|
System.Int32 |
startIndex |
|
System.Int32 |
maxRows |
|
System.Int32 |
totalCount |
|
Returns
Type |
Description |
System.Collections.Generic.IEnumerable<ContentVersion> |
|
Load(ContentReference)
Declaration
public virtual ContentVersion Load(ContentReference contentLink)
Parameters
Returns
LoadCommonDraft(ContentReference, String)
Declaration
public virtual ContentVersion LoadCommonDraft(ContentReference contentLink, string language)
Parameters
Returns
LoadPublished(ContentReference)
Declaration
public virtual ContentVersion LoadPublished(ContentReference contentLink)
Parameters
Returns
LoadPublished(ContentReference, String)
Declaration
public virtual ContentVersion LoadPublished(ContentReference contentLink, string languageBranch)
Parameters
Returns
SetCommonDraft(ContentReference)
Declaration
public virtual void SetCommonDraft(ContentReference contentLink)
Parameters
Implements
Extension Methods