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()
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
Methods
GetBrokenLinks(ContentReference, Int32, Int32)
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
GetLinksOnPage(ContentReference)
Declaration
public virtual IEnumerable<SoftLink> GetLinksOnPage(ContentReference contentLink)
Parameters
Returns
Type |
Description |
System.Collections.Generic.IEnumerable<SoftLink> |
|
GetUncheckedLinks(DateTime, TimeSpan, Int32)
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 |
|
ResetCheckedStatus(IEnumerable<SoftLink>)
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 |
|
Update(SoftLink)
Declaration
public virtual void Update(SoftLink link)
Parameters
UpdateStatus(SoftLink)
Declaration
public virtual void UpdateStatus(SoftLink link)
Parameters
Implements
Extension Methods