Method | Description | |
---|---|---|
Configure ( ApplicationConfigurationBase applicationConfiguration ) : void |
Configures the component instance. This method should set IsConfigured.
|
|
EventManager ( IActivationProvider activationProvider ) : System |
Initializes a new instance of the EventManager class.
|
|
Raise ( object @event ) : Task |
Raises the specified event.
|
Method | Description | |
---|---|---|
GetPartitionCount ( |
Determines the number of partitions to create for concurrent execution of processing event handlers. This will affect the number of thread-pool threads queued to execute handlers in parallel. By default, EventManager will only process a maximum of Environment.ProcessorCount (one thread per virtual processor) unless the handlerCount is less than the Environment.ProcessorCount value. In which it will partition according to the handlerCount.
|
Method | Description | |
---|---|---|
InvokeEventHandler ( EventHandlerInformation handlerInformation, |
||
RaiseEventInternal ( object @event ) : Task |
public Configure ( ApplicationConfigurationBase applicationConfiguration ) : void | ||
applicationConfiguration | ApplicationConfigurationBase | The application configuration. |
return | void |
public EventManager ( IActivationProvider activationProvider ) : System | ||
activationProvider | IActivationProvider | The activation provider. |
return | System |
protected GetPartitionCount ( |
||
handlerCount | ||
return |