Class LinkRepository

Inheritance
System.Object
LinkRepository
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()
Namespace: EPiServer.LinkAnalyzer.Providers.Internal
Assembly: EPiServer.LinkAnalyzer.dll
Version: 11.20.7
Syntax
[ServiceConfiguration(typeof(ILinkRepository))]
[ServiceConfiguration(typeof(ILinkStatusUpdater))]
public class LinkRepository : ILinkRepository, ILinkStatusUpdater

Constructors

LinkRepository(IContentSoftLinkRepository, IContentSoftLinkStatusService)

Declaration
public LinkRepository(IContentSoftLinkRepository repository, IContentSoftLinkStatusService statusService)
Parameters
Type Name Description
IContentSoftLinkRepository repository
IContentSoftLinkStatusService statusService

Methods

Declaration
public virtual Slice<SoftLink> GetBrokenLinks(ContentReference rootContent, int skipCount, int takeCount)
Parameters
Type Name Description
ContentReference rootContent
System.Int32 skipCount
System.Int32 takeCount
Returns
Type Description
Slice<SoftLink>

GetLinksOnPage(ContentReference)

Declaration
public virtual IEnumerable<SoftLink> GetLinksOnPage(ContentReference contentLink)
Parameters
Type Name Description
ContentReference contentLink
Returns
Type Description
System.Collections.Generic.IEnumerable<SoftLink>
Declaration
public virtual IEnumerable<SoftLink> GetUncheckedLinks(DateTime lastCheckedDate, TimeSpan ignoreWorkingLinksInterval, int maxNumberOfLinks)
Parameters
Type Name Description
System.DateTime lastCheckedDate
System.TimeSpan ignoreWorkingLinksInterval
System.Int32 maxNumberOfLinks
Returns
Type Description
System.Collections.Generic.IEnumerable<SoftLink>

ResetCheckedStatus(IEnumerable<ContentReference>)

Declaration
public virtual void ResetCheckedStatus(IEnumerable<ContentReference> referencedContentLinks)
Parameters
Type Name Description
System.Collections.Generic.IEnumerable<ContentReference> referencedContentLinks
Declaration
protected virtual void ResetCheckedStatus(IEnumerable<SoftLink> softLinks)
Parameters
Type Name Description
System.Collections.Generic.IEnumerable<SoftLink> softLinks

ResetCheckedStatus(IEnumerable<Guid>)

Declaration
public virtual void ResetCheckedStatus(IEnumerable<Guid> referencedContentGuids)
Parameters
Type Name Description
System.Collections.Generic.IEnumerable<System.Guid> referencedContentGuids
Declaration
public virtual void Update(SoftLink link)
Parameters
Type Name Description
SoftLink link
Declaration
public virtual void UpdateStatus(SoftLink link)
Parameters
Type Name Description
SoftLink link

Implements

Extension Methods