Class TlbGenPasLibImp
Generator pas files from tlb
Inheritance
object
TlbGenPasLibImp
Namespace: BuildSystem.TlbGenPas.LibImp
Assembly: BuildSystem.ProjectList.dll
Syntax
public class TlbGenPasLibImp : Object, ITlbGenPas, IManager
Constructors
TlbGenPasLibImp(ILogger?, ITlbGenPasProps, string)
Generator pas files from tlb
Declaration
public TlbGenPasLibImp(ILogger? logger, ITlbGenPasProps props, string tempDir)
Parameters
| Type | Name | Description |
|---|---|---|
| ILogger | logger | Logger |
| ITlbGenPasProps | props | Properties of generator |
| string | tempDir | Parent folder for temporary files |
Fields
ClassIdent
Unique ident of class
Declaration
public const string ClassIdent = "TlbGenPas.LibImp"
Field Value
| Type | Description |
|---|---|
| string |
Properties
Logger
Declaration
public ILogger? Logger { get; }
Property Value
| Type | Description |
|---|---|
| ILogger |
Props
Properties of generator
Declaration
public IManagerProp Props { get; }
Property Value
| Type | Description |
|---|---|
| IManagerProp |
Methods
Generate(string, string, Dictionary<string, string>)
Generator pas file from tlb
Declaration
public bool Generate(string tlbFile, string resultFilePath, Dictionary<string, string> generateParams)
Parameters
| Type | Name | Description |
|---|---|---|
| string | tlbFile | TLB-file |
| string | resultFilePath | Full path to result .pas file |
| System.Collections.Generic.Dictionary<,><string, string> | generateParams | Specific params of generating |
Returns
| Type | Description |
|---|---|
| bool |