Interface IExtensionLibrary
Library with extensions, which can be included into SprutCAM Open API
Namespace: SprutCAMTech.CAMAPI.Extensions
Assembly: SprutCAMTech.CAMAPI.Extensions.dll
Syntax
[InterfaceType(ComInterfaceType.InterfaceIsIUnknown)]
[Guid("1E2E779E-47F3-47A1-9E13-43CC9C5437BA")]
public interface IExtensionLibrary
Properties
Description
Description of library
Declaration
string Description { get; set; }
Property Value
Type | Description |
---|---|
string |
Extensions
List of extensions, which are included into library
Declaration
IListExtension Extensions { get; }
Property Value
Type | Description |
---|---|
IListExtension |
Id
Unique identifier of library in global list of libraries
Declaration
string Id { get; set; }
Property Value
Type | Description |
---|---|
string |
LoaderType
Type of loading library into memory
Declaration
string LoaderType { get; set; }
Property Value
Type | Description |
---|---|
string |
LoadEvents
List of events, when extension should be loaded
Declaration
IListString LoadEvents { get; set; }
Property Value
Type | Description |
---|---|
IListString |
ModulePath
Path to source file of library
Declaration
string ModulePath { get; set; }
Property Value
Type | Description |
---|---|
string |
Name
Name of library
Declaration
string Name { get; set; }
Property Value
Type | Description |
---|---|
string |
Methods
GetEnabled()
Get library is enabled
Declaration
bool GetEnabled()
Returns
Type | Description |
---|---|
bool |
GetInfos()
Get extension infos iterator
Declaration
IExtensionInfosIterator GetInfos()
Returns
Type | Description |
---|---|
IExtensionInfosIterator |
SetEnabled(bool, out TResultStatus)
Declaration
void SetEnabled(bool Enabled, out TResultStatus ret)
Parameters
Type | Name | Description |
---|---|---|
bool | Enabled | |
TResultStatus | ret |