Class MasterStarter
A IStarter master class.
public class MasterStarter : MasterBase<IStarter>, IModel, IDisposable
- Inheritance
-
MasterStarter
- Implements
- Inherited Members
- Extension Methods
Remarks
Instances of this class are factory classes for actual IStarter implementations.
Constructors
MasterStarter(string, string?, Type, IReadOnlyDictionary<string, object?>?)
Ctor.
public MasterStarter(string name, string? description, Type starterType, IReadOnlyDictionary<string, object?>? properties)
Parameters
name
stringunique master starter name
description
stringdescription string
starterType
TypeTarget IStarter instance type
properties
IReadOnlyDictionary<string, object>Master starter configuration parameters
Fields
PROP_RUNTIME
internal runtime property
public const string PROP_RUNTIME = "$Runtime-Obj"
Field Value
RPROP_PARALLEL_START
If this run-property is set (true on DoAcivate), allow for parallel Starter invocation
public const string RPROP_PARALLEL_START = "Parallel-Start"
Field Value
Methods
CreateRuntimeStarter(string, string, IReadOnlyDictionary<string, object?>)
Create a IStarter runtime instance.
public IRuntimeStarter CreateRuntimeStarter(string name, string description, IReadOnlyDictionary<string, object?> properties)
Parameters
name
stringStarter's runtime name
description
stringDescription
properties
IReadOnlyDictionary<string, object>Runtime configuration parameters
Returns
Dispose(bool)
dispose when == true.
protected override void Dispose(bool disposing)
Parameters
disposing
bool