Interface IExtensionInfo
Information about extension, which can be included into SprutCAM Open API
Namespace: SprutCAMTech.CAMAPI.Extensions
Assembly: SprutCAMTech.CAMAPI.Extensions.dll
Syntax
[InterfaceType(ComInterfaceType.InterfaceIsIUnknown)]
[Guid("7ADE4684-6779-4392-A48F-83D0C6011720")]
public interface IExtensionInfo
Properties
ExtensionManager
Global singleton, which contains list of extensions
Declaration
IExtensionManager ExtensionManager { get; }
Property Value
Type | Description |
---|---|
IExtensionManager |
ExtensionType
Type of using in SprutCAM Open API
Declaration
string ExtensionType { get; set; }
Property Value
Type | Description |
---|---|
string |
Id
Unique identifier of extension in global list of extensions
Declaration
string Id { get; set; }
Property Value
Type | Description |
---|---|
string |
MaxApiVersion
Max API version, which is required to use this extension
Declaration
string MaxApiVersion { get; }
Property Value
Type | Description |
---|---|
string |
MinApiVersion
Min API version, which is required to use this extension
Declaration
string MinApiVersion { get; }
Property Value
Type | Description |
---|---|
string |
Name
Name of extension
Declaration
string Name { get; set; }
Property Value
Type | Description |
---|---|
string |
Methods
Clone()
Clone object into another one
Declaration
IExtensionInfo Clone()
Returns
Type | Description |
---|---|
IExtensionInfo |
Copy(IExtensionInfo)
Copy all properties from source object
Declaration
void Copy(IExtensionInfo source)
Parameters
Type | Name | Description |
---|---|---|
IExtensionInfo | source |
EmptyValues()
Set values of private properties to default
Declaration
void EmptyValues()
Update(IStream)
Update extension with new data from source
Declaration
void Update(IStream source)
Parameters
Type | Name | Description |
---|---|---|
IStream | source |