Click or drag to resize

CreateJobEvent Class

The event commands RAYGUIDE to create a new job; it is triggered e. g. if menu item "File/New" is executed or RAYGUIDE is starting. The event ActiveJobChangedEvent is triggered as response.

Parameter: bool checkOnDefaultJob: If set to true no blank job will be created but the default job if it is available and activated in the user preferences.

Inheritance Hierarchy
System.Object
  EventBase
    PubSubEvent<Boolean>
      RAYLASE.Marker.GUI.Events.CreateJobEvent

Namespace: RAYLASE.Marker.GUI.Events
Assembly: RAYLASE.Marker.GUI.Events (in RAYLASE.Marker.GUI.Events.dll) Version: 2.20.0
Syntax
C#
public class CreateJobEvent : PubSubEvent<bool>

The CreateJobEvent type exposes the following members.

Constructors
 NameDescription
Public methodCreateJobEventInitializes a new instance of the CreateJobEvent class
Top
Properties
 NameDescription
Protected propertySubscriptions Gets the list of current subscriptions.
(Inherited from EventBase)
Public propertySynchronizationContext Allows the SynchronizationContext to be set by the EventAggregator for UI Thread Dispatching
(Inherited from EventBase)
Top
Methods
 NameDescription
Public methodContains(Action<UTP>) Returns true if there is a subscriber matching Action<T>.
(Inherited from PubSubEvent<Boolean>)
Public methodContains(SubscriptionToken) Returns true if there is a subscriber matching SubscriptionToken.
(Inherited from EventBase)
Protected methodInternalPublish Calls all the execution strategies exposed by the list of IEventSubscription.
(Inherited from EventBase)
Protected methodInternalSubscribe Adds the specified IEventSubscription to the subscribers' collection.
(Inherited from EventBase)
Public methodPrune Forces the PubSubEvent to remove any subscriptions that no longer have an execution strategy.
(Inherited from EventBase)
Public methodPublish Publishes the PubSubEvent.
(Inherited from PubSubEvent<Boolean>)
Public methodSubscribe(Action<UTP>) Subscribes a delegate to an event that will be published on the PublisherThread. PubSubEvent will maintain a WeakReference to the target of the supplied action delegate.
(Inherited from PubSubEvent<Boolean>)
Public methodSubscribe(Action<UTP>, ThreadOption) Subscribes a delegate to an event. PubSubEvent will maintain a WeakReference to the Target of the supplied action delegate.
(Inherited from PubSubEvent<Boolean>)
Public methodSubscribe(Action<UTP>, Boolean) Subscribes a delegate to an event that will be published on the PublisherThread.
(Inherited from PubSubEvent<Boolean>)
Public methodSubscribe(Action<UTP>, Predicate<UTP>) Subscribes a delegate to an event that will be published on the PublisherThread
(Inherited from PubSubEvent<Boolean>)
Public methodSubscribe(Action<UTP>, ThreadOption, Boolean) Subscribes a delegate to an event.
(Inherited from PubSubEvent<Boolean>)
Public methodSubscribe(Action<UTP>, ThreadOption, Boolean, Predicate<UTP>) Subscribes a delegate to an event.
(Inherited from PubSubEvent<Boolean>)
Public methodUnsubscribe(Action<UTP>) Removes the first subscriber matching Action<T> from the subscribers' list.
(Inherited from PubSubEvent<Boolean>)
Public methodUnsubscribe(SubscriptionToken) Removes the subscriber matching the SubscriptionToken.
(Inherited from EventBase)
Top
See Also