Class EventSite

Represents a site participating in the Event framework.

Inheritance
System.Object
EventSite
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
Assembly: EPiServer.Events.dll
Version: 8.11.0
Syntax
public class EventSite

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