Class TlbGenBplThroughPas
Generator pas files from tlb
Inheritance
object
TlbGenBplThroughPas
Namespace: BuildSystem.TlbGenBpl.ThroughPas
Assembly: BuildSystem.ProjectList.dll
Syntax
public class TlbGenBplThroughPas : Object, ITlbGenBpl, IManager
Constructors
TlbGenBplThroughPas(ILogger?, ITlbGenBplProps, string)
Generator BPL files from TLB through creating PAS file
Declaration
public TlbGenBplThroughPas(ILogger? logger, ITlbGenBplProps props, string tempDir)
Parameters
Type | Name | Description |
---|---|---|
ILogger | logger | Logger |
ITlbGenBplProps | props | Folder for temporary files |
string | tempDir | Properties of convertor tlb -> pas |
Fields
ClassIdent
Unique ident of class
Declaration
public const string ClassIdent = "TlbGenBpl.ThroughPas"
Field Value
Type | Description |
---|---|
string |
ParamPasFileName
Mandatory param for generating .bpl from .tlb. This param defines name of .pas file, which will be contained into creating .bpl
Declaration
public const string ParamPasFileName = "pas_file_name"
Field Value
Type | Description |
---|---|
string |
TempDir
Directory for temporary files
Declaration
public readonly string TempDir
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 |
ToolDir
Directory with utility
Declaration
public string ToolDir { get; }
Property Value
Type | Description |
---|---|
string |
Methods
Generate(string, string, Dictionary<string, string>)
Generator bpl file from tlb / pas
Declaration
public bool Generate(string sourceFile, string resultFilePath, Dictionary<string, string> generateParams)
Parameters
Type | Name | Description |
---|---|---|
string | sourceFile | File could be:
|
string | resultFilePath | Path to result - could be:
|
System.Collections.Generic.Dictionary<,><string, string> | generateParams | Specific params of generating:
|
Returns
Type | Description |
---|---|
bool |