Interface IExtensionManager
Manager for extensions running in SprutCAM Open API
Namespace: SprutCAMTech.CAMAPI.Extensions
Assembly: SprutCAMTech.CAMAPI.Extensions.dll
Syntax
[Guid("5F953309-EC6F-4C54-A1BF-6C0B42A57C71")]
[InterfaceType(ComInterfaceType.InterfaceIsIUnknown)]
public interface IExtensionManager
Properties
ApiVersion
Get version SprutCAMTech.CAMAPI.SDK which includes all interfaces
Declaration
string ApiVersion { get; }
Property Value
Methods
FreeExtensionInstance(string, out TResultStatus)
Declaration
void FreeExtensionInstance(string ExtensionIdent, out TResultStatus ret)
Parameters
GetExtensionInfo(string, out TResultStatus)
Declaration
IExtensionInfo GetExtensionInfo(string ExtensionIdent, out TResultStatus ret)
Parameters
Returns
GetExtensionInfos(out TResultStatus)
Declaration
IListExtensionInfo GetExtensionInfos(out TResultStatus ret)
Parameters
Returns
GetExtensionInstance(string, out TResultStatus)
Declaration
IExtension GetExtensionInstance(string ExtensionIdent, out TResultStatus ret)
Parameters
Returns
GetExtensionInstances(string, out TResultStatus)
Declaration
IListExtension GetExtensionInstances(string ExtensionTypes, out TResultStatus ret)
Parameters
Returns
GetLibraries()
Get extension libraries iterator
Declaration
IExtensionLibrariesIterator GetLibraries()
Returns
GetLibrary(string, out TResultStatus)
Declaration
IExtensionLibrary GetLibrary(string ExtensionIdent, out TResultStatus ret)
Parameters
Returns
LoadLibraries(string)
Load extension libraries, if they have current load point
Declaration
TResultStatus LoadLibraries(string Point)
Parameters
Type |
Name |
Description |
string |
Point |
|
Returns
RegisterExtensions(string, out TResultStatus)
Declaration
IListExtension RegisterExtensions(string DescriptionFilePath, out TResultStatus ret)
Parameters
Type |
Name |
Description |
string |
DescriptionFilePath |
|
TResultStatus |
ret |
|
Returns
RegisterLibrary(string, string, TStorageType, out TResultStatus)
Declaration
IExtensionLibrary RegisterLibrary(string LibraryId, string DescriptionFilePath, TStorageType StorageType, out TResultStatus ret)
Parameters
Returns
UnregisterLibrary(string, TStorageType)
Remove information about extension from storage
Declaration
TResultStatus UnregisterLibrary(string LibraryId, TStorageType StorageType)
Parameters
Type |
Name |
Description |
string |
LibraryId |
|
TStorageType |
StorageType |
|
Returns