The BaseGenerator type exposes the following members.

Constructors

  NameDescription
BaseGenerator
The constructor initialize the base class.

Methods

  NameDescription
DisposeOverloaded.
Equals
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Finalize
Terminate the class
(Overrides Object..::.Finalize()()().)
GetHashCode
Serves as a hash function for a particular type.
(Inherited from Object.)
GetType
Gets the Type of the current instance.
(Inherited from Object.)
Initialize
The method initialize the class. The service will call it once at starting when initialize all generators.
MemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
OnNewEvent
Raises the NewEvent event.
Run
This method will send new event using the OnNewEvent(GeneratorEvent) method.
Stop
This method is call by the service when stopping.
ToString
Returns a String that represents the current Object.
(Inherited from Object.)
WaitStopOverloaded.

Fields

  NameDescription
context
The context of the generator.
disposed
To use with the IDisposable interface
stopFlag
The event to signal the service is stopping.

Properties

  NameDescription
Context
Get the GeneratorContext of this generator.
MustStop
This property check if the generator must stop.

Events

  NameDescription
NewEvent
This EventHandler is used by the service to receive an alert when a new event is send

See Also