RunUnit<ProgramOrClass> Class

MicroFocus.COBOL.RuntimeServices
Creates a RunUnit with a specific program or class and registers it
Inheritance Hierarchy

System.Object
  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

  NameDescription
Public methodCode exampleRunUnit<ProgramOrClass>()
Creates a RunUnit with a specific program or class and registers it
Public methodRunUnit<ProgramOrClass>(String, RunUnitStartupOptions)
Creates a RunUnit with a specific program or class and add its to the rununit.
Public methodRunUnit<ProgramOrClass>(Type, String, RunUnitStartupOptions)
Creates a RunUnit with a specific program or class and add it (from type)
Public methodRunUnit<ProgramOrClass>(ProgramOrClass, String, RunUnitStartupOptions)
Creates a RunUnit with a specific program or class and adds it to the rununit.
Top
Methods

  NameDescription
Public methodCode exampleGet()
Get's the initial program or class
Public methodCode exampleGet<AnotherProgramOrClass>(Boolean)
Gets a specific program from the rununit with a option to create it.
Public methodCode exampleGet<AnotherProgramOrClass>(Type, Boolean)
Gets a specific program from the rununit with a option to create it.
Top
See Also

Reference