Class EventSourceAuthorizerCollection
Represents a collection of IEventSourceAuthorizer instances.
Namespace: Umbraco.Cms.Core.ServerEvents
Assembly: Umbraco.Core.dll
Syntax
public class EventSourceAuthorizerCollection : BuilderCollectionBase<IEventSourceAuthorizer>, IBuilderCollection<IEventSourceAuthorizer>
Remarks
This collection contains all registered event source authorizers that determine whether users have permission to subscribe to specific server-sent event sources.
Constructors
View SourceEventSourceAuthorizerCollection(Func<IEnumerable<IEventSourceAuthorizer>>)
Initializes a new instance of the EventSourceAuthorizerCollection class.
Declaration
public EventSourceAuthorizerCollection(Func<IEnumerable<IEventSourceAuthorizer>> items)
Parameters
| Type | Name | Description |
|---|---|---|
| Func<IEnumerable<IEventSourceAuthorizer>> | items | A factory function that provides the event source authorizers. |