Метод | Описание | |
---|---|---|
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.
|
Метод | Описание | |
---|---|---|
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.
|
Метод | Описание | |
---|---|---|
InvokeEventHandler ( EventHandlerInformation handlerInformation, |
||
RaiseEventInternal ( object @event ) : Task |
public Configure ( ApplicationConfigurationBase applicationConfiguration ) : void | ||
applicationConfiguration | ApplicationConfigurationBase | The application configuration. |
Результат | void |
public EventManager ( IActivationProvider activationProvider ) : System | ||
activationProvider | IActivationProvider | The activation provider. |
Результат | System |
protected GetPartitionCount ( |
||
handlerCount | ||
Результат |