Class BuilderMidl
Generating TLB / PAS / BPL / DLL from IDL
Inheritance
object
BuilderMidl
Namespace: BuildSystem.Builder.Midl
Assembly: BuildSystem.ProjectList.dll
Syntax
public class BuilderMidl : Object, IBuilder, IManager
Constructors
BuilderMidl(ILogger?, BuilderMidlProps, string)
Compiling of project using utilities from MS
Declaration
public BuilderMidl(ILogger? logger, BuilderMidlProps props, string tempDir)
Parameters
Type | Name | Description |
---|---|---|
ILogger | logger | Logging object |
BuilderMidlProps | props | Properties for compiling |
string | tempDir | Path to folder where temporary folders can be created |
Fields
ClassIdent
Unique ident of class
Declaration
public const string ClassIdent = "Builder.Midl"
Field Value
Type | Description |
---|---|
string |
Properties
Logger
Logging object
Declaration
public ILogger? Logger { get; }
Property Value
Type | Description |
---|---|
ILogger |
Props
Declaration
public IManagerProp Props { get; }
Property Value
Type | Description |
---|---|
IManagerProp |
Methods
Build(string, Dictionary<string, string>)
Building tlb/pas/dll/bpl from idl. Warning: pas/dll/bpl can be generated only if param NodeOutputTlb set, because in other case there is no tlb as source for pas/dll/bpl
Declaration
public bool Build(string sourceFile, Dictionary<string, string> buildParams)
Parameters
Type | Name | Description |
---|---|---|
string | sourceFile | It can be:
|
System.Collections.Generic.Dictionary<,><string, string> | buildParams | Available params:
|
Returns
Type | Description |
---|---|
bool | Flag that everything is ok |