Universal Windows Service Class Library

Trigger Members

Trigger overview

Public Static Methods

AddOverloaded. Add the given trigger object to static trigger list.
Begin Signals the triggers in static trigger list that it could start it's work.
Break Signals the triggers in static trigger list that they should break and pause their work.
Clear Remove all entries from static trigger list.
Create Create a new instance of a specified implemented trigger class.
End Signals the triggers in static trigger list that it should stop it's work.
RemoveOverloaded. Remove the trigger with given name from static trigger list.
Resume Signals the triggers in static trigger list that they should start working again.
SignOffOverloaded. Remove given registered event handler from each trigger with given name.
SignOnOverloaded. Register given event handler at each trigger with given name.

Public Instance Properties

IsConfigured Get the flag if trigger is configured or not.
IsPaused Get the flag if trigger is paused or not.
IsRunning Get the flag if trigger is running or not.

Public Instance Methods

Configure Configures the trigger from an xml element.
Continue Signals the trigger that it could start working again.
Equals (inherited from Object) Determines whether the specified Object is equal to the current Object.
GetHashCode (inherited from Object) Serves as a hash function for a particular type, suitable for use in hashing algorithms and data structures like a hash table.
GetType (inherited from Object) Gets the Type of the current instance.
Pause Signals the trigger that it could break and pause it's work.
Start Signals the trigger that it could start it's work.
Stop Signals the trigger that it should stop it's work.
ToString (inherited from Object) Returns a String that represents the current Object.

Public Instance Events

Event Event which will occures if trigger matches.

Protected Instance Constructors

Trigger Constructor Initializes a new instance of the Trigger class.

Protected Instance Fields

m_configured Flag if configuration of the trigger is already done or not.
m_name The name of the trigger. Is only for global triggers important.
m_paused Flag if trigger is paused or not.
m_running Flag if trigger is running or not.

Protected Instance Methods

Finalize (inherited from Object) Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
MemberwiseClone (inherited from Object) Creates a shallow copy of the current Object.
OnEvent Function will be called when the trigger event should be fired.
TimerCallback Function is called from timer which shows that the trigger event should be fired.
TimerRestart Helper function which is used to handle trigger event times which are to long in future.

See Also

Trigger Class | uws.Triggers Namespace | ITrigger