Interface IExtensionStorage
Storage for extensions running in SprutCAM Open API
Namespace: SprutCAMTech.CAMAPI.Extensions
Assembly: SprutCAMTech.CAMAPI.Extensions.dll
Syntax
[Guid("48AC7EF6-EDE1-467F-88FB-AA791C532254")]
[InterfaceType(ComInterfaceType.InterfaceIsIUnknown)]
public interface IExtensionStorage
Properties
Path
Path to storage (file or db connection string or other)
Declaration
string Path { get; set; }
Property Value
StorageType
Type of storage to identify its purpose
Declaration
TStorageType StorageType { get; set; }
Property Value
Methods
Clean(IListString)
Clean storage from libraries
Declaration
void Clean(IListString libraries)
Parameters
Type |
Name |
Description |
IListString |
libraries |
list of paths to files describing libraries that should be deleted from storage
|
Read(out IDictionaryStringString, out TResultStatus)
Declaration
IListExtensionLibrary Read(out IDictionaryStringString JsonPaths, out TResultStatus ret)
Parameters
Returns
Save(IListExtensionLibrary, IDictionaryStringString, bool)
Declaration
void Save(IListExtensionLibrary libraries, IDictionaryStringString JsonPaths, bool merge)
Parameters