SaaS CMS has officially launched! Learn more now.

Class EventSiteRegistry

Unsupported INTERNAL API! Not covered by semantic versioning; might change without notice. Class responsible for maitaining a register of sites participating in the event framework.

Inheritance
System.Object
EventSiteRegistry
Implements
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.Events.Providers.Internal
Assembly: EPiServer.Events.dll
Version: 11.20.7
Syntax
[ServiceConfiguration(typeof(IEventSiteRegistry), Lifecycle = ServiceInstanceScope.Singleton)]
public class EventSiteRegistry : IEventSiteRegistry

Constructors

EventSiteRegistry()

Declaration
public EventSiteRegistry()

Properties

Count

Unsupported INTERNAL API! Not covered by semantic versioning; might change without notice.

Declaration
public virtual int Count { get; }
Property Value
Type Description
System.Int32

Publisher

Unsupported INTERNAL API! Not covered by semantic versioning; might change without notice.

Declaration
public virtual EventSite Publisher { get; }
Property Value
Type Description
EventSite

Subscribers

Unsupported INTERNAL API! Not covered by semantic versioning; might change without notice.

Declaration
public virtual IEnumerable<EventSite> Subscribers { get; }
Property Value
Type Description
System.Collections.Generic.IEnumerable<EventSite>

Methods

Add(EventSite, RegistrationType)

Unsupported INTERNAL API! Not covered by semantic versioning; might change without notice.

Declaration
public virtual void Add(EventSite site, RegistrationType registrationType)
Parameters
Type Name Description
EventSite site

The site to add to the register.

RegistrationType registrationType

The type of registration to use.

Exceptions
Type Condition
System.InvalidOperationException

Thrown if a site already has been registered as an publisher or if the site is already registered as a subscriber.

Clear()

Unsupported INTERNAL API! Not covered by semantic versioning; might change without notice.

Declaration
public virtual void Clear()

Remove(Guid)

Unsupported INTERNAL API! Not covered by semantic versioning; might change without notice.

Declaration
public virtual bool Remove(Guid uniqueId)
Parameters
Type Name Description
System.Guid uniqueId

The unique id representing the remote site.

Returns
Type Description
System.Boolean

True if the site was found and removed; otherwise false.

Implements

Extension Methods