Creates a RunUnit with a specific program or class and registers it
Inheritance Hierarchy
MicroFocus.COBOL.RuntimeServices.RunUnit
MicroFocus.COBOL.RuntimeServices.Generic.RunUnit<ProgramOrClass>
Namespace: MicroFocus.COBOL.RuntimeServices.Generic
Assembly: MicroFocus.COBOL.RuntimeServices (in MicroFocus.COBOL.RuntimeServices.dll) Version: 1.2.3.4
Syntax
[CLSCompliantAttribute(false)] public class RunUnit<ProgramOrClass> : RunUnit, IRunUnit<ProgramOrClass>, IRunUnit, IDisposable where ProgramOrClass : IObjectControl
Type Parameters
- ProgramOrClass
Constructors
Name | Description | |
---|---|---|
![]() ![]() | RunUnit<ProgramOrClass>() |
Creates a RunUnit with a specific program or class and registers it
|
![]() | RunUnit<ProgramOrClass>(String, RunUnitStartupOptions) |
Creates a RunUnit with a specific program or class and add its to the rununit.
|
![]() | RunUnit<ProgramOrClass>(Type, String, RunUnitStartupOptions) |
Creates a RunUnit with a specific program or class and add it (from type)
|
![]() | RunUnit<ProgramOrClass>(ProgramOrClass, String, RunUnitStartupOptions) |
Creates a RunUnit with a specific program or class and adds it to the rununit.
|
Methods
Name | Description | |
---|---|---|
![]() ![]() | Get() |
Get's the initial program or class
|
![]() ![]() | Get<AnotherProgramOrClass>(Boolean) |
Gets a specific program from the rununit with a option to create it.
|
![]() ![]() | Get<AnotherProgramOrClass>(Type, Boolean) |
Gets a specific program from the rununit with a option to create it.
|
See Also