SaaS CMS has officially launched! Learn more now.

Class EventSite

Represents a site participating in the Event framework.

Inheritance
System.Object
EventSite
Namespace: EPiServer.Events.Providers.Internal
Assembly: EPiServer.Events.dll
Version: 12.0.3
Syntax
public class EventSite : Object

Constructors

EventSite(String, Byte[])

Initializes a new instance of the EventSite class.

Declaration
public EventSite(string siteId, byte[] secret)
Parameters
Type Name Description
System.String siteId

The identifier string of the site.

System.Byte[] secret

The site secret.

Fields

ValueComparer

A comparer that only compares the values of each instance and ignores the UniqueId.

Declaration
public static readonly IEqualityComparer<EventSite> ValueComparer
Field Value
Type Description
System.Collections.Generic.IEqualityComparer<EventSite>

Properties

Secret

Gets the site secret added to this EventSite instance.

Declaration
public byte[] Secret { get; }
Property Value
Type Description
System.Byte[]

SiteId

Gets the identifier of the site referenced by this EventSite instance.

Declaration
public string SiteId { get; }
Property Value
Type Description
System.String

UniqueId

Gets the unique identifier of this EventSite instance. This property is populated automatically when a new instance is created.

Declaration
public Guid UniqueId { get; }
Property Value
Type Description
System.Guid

Extension Methods