Class EventsServiceKnownTypesLookup
Class for retrieving all types decorated with the Events
Inheritance
Namespace: EPiServer.Events
Assembly: EPiServer.Events.dll
Version: 12.0.3Syntax
[ServiceConfiguration]
public class EventsServiceKnownTypesLookup : Object
Constructors
EventsServiceKnownTypesLookup(ITypeScannerLookup)
Initializes a new instance of the Events
Declaration
public EventsServiceKnownTypesLookup(ITypeScannerLookup typeScanner)
Parameters
Type | Name | Description |
---|---|---|
IType |
typeScanner | The type scanner used. |
Exceptions
Type | Condition |
---|---|
System. |
Thrown if the typeScanner parameter is null. |
Properties
KnownTypes
Gets all types that has been decorated with the Events
Declaration
public virtual IEnumerable<Type> KnownTypes { get; }
Property Value
Type | Description |
---|---|
System. |
Methods
GetKnownTypes(ICustomAttributeProvider)
Gets the known types for the IEventReplication service.
Declaration
public static IEnumerable<Type> GetKnownTypes(ICustomAttributeProvider provider)
Parameters
Type | Name | Description |
---|---|---|
System. |
provider | The custom attribute provider |
Returns
Type | Description |
---|---|
System. |
The known types for the "IEventReplication" service |
Remarks
This method is used for defining ServiceKnownTypes for the IEventReplication service, see the MSDN documentation for ServiceKnownTypeAttribute (http://msdn.microsoft.com/en-us/library/ms554667.aspx) for usage information