Class TlbGenDotnetDllTlbImp
Generating DLL-file from TLB-file using tlbimp.exe from Windows SDK
Inheritance
object
TlbGenDotnetDllTlbImp
Namespace: BuildSystem.TlbGenDotnetDll.TlbImp
Assembly: BuildSystem.ProjectList.dll
Syntax
public class TlbGenDotnetDllTlbImp : Object, ITlbGenDotnetDll, IManager
Constructors
TlbGenDotnetDllTlbImp(ILogger?, ITlbGenDotnetDllProps, string)
Generating DLL-file from TLB-file using tlbimp.exe from Windows SDK
Declaration
public TlbGenDotnetDllTlbImp(ILogger? logger, ITlbGenDotnetDllProps props, string tempDir)
Parameters
| Type | Name | Description |
|---|---|---|
| ILogger | logger | Logger |
| ITlbGenDotnetDllProps | props | Properties of generator |
| string | tempDir | Parent folder for temporary files |
Fields
ClassIdent
Unique ident of class
Declaration
public const string ClassIdent = "TlbGenDotnetDll.TlbImp"
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>)
Generating DLL-file from TLB-file using tlbimp.exe from Windows SDK
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 .dll file |
| System.Collections.Generic.Dictionary<,><string, string> | generateParams | Specific params of generating, which key set in TlbGenDotnetDllProps |
Returns
| Type | Description |
|---|---|
| bool |