Interface IExtensionStorage
Storage for extensions running in CAM Open API
Assembly: CAMAPI.Extensions.dll
Syntax
[InterfaceType(ComInterfaceType.InterfaceIsIUnknown)]
[Guid("48AC7EF6-EDE1-467F-88FB-AA791C532254")]
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
GetExtensionDisabled(string, out TResultStatus)
Declaration
bool GetExtensionDisabled(string ExtensionIdent, out TResultStatus ret)
Parameters
Returns
GetExtensionFieldInherited(string, TStorageField, out TResultStatus)
Declaration
bool GetExtensionFieldInherited(string ExtensionIdent, TStorageField field, out TResultStatus ret)
Parameters
Returns
GetExtensions(string, out TResultStatus)
Declaration
IListString GetExtensions(string LibraryIdent, out TResultStatus ret)
Parameters
Returns
GetLibraries(out TResultStatus)
Declaration
IListString GetLibraries(out TResultStatus ret)
Parameters
Returns
GetLibraryDisabled(string, out TResultStatus)
Declaration
bool GetLibraryDisabled(string LibraryIdent, out TResultStatus ret)
Parameters
Returns
GetLibraryFieldInherited(string, TStorageField, out TResultStatus)
Declaration
bool GetLibraryFieldInherited(string LibraryIdent, TStorageField field, out TResultStatus ret)
Parameters
Returns
Read(out TResultStatus)
Declaration
void Read(out TResultStatus ret)
Parameters
RegisterLibrary(string, out TResultStatus)
Declaration
void RegisterLibrary(string LibraryIdent, out TResultStatus ret)
Parameters
Save(out TResultStatus)
Declaration
void Save(out TResultStatus ret)
Parameters
SetExtensionDisabled(string, string, bool, out TResultStatus)
Declaration
void SetExtensionDisabled(string LibraryIdent, string ExtensionIdent, bool Disabled, out TResultStatus ret)
Parameters
Type |
Name |
Description |
string |
LibraryIdent |
|
string |
ExtensionIdent |
|
bool |
Disabled |
|
TResultStatus |
ret |
|
SetExtensionFieldInherited(string, TStorageField, out TResultStatus)
Declaration
void SetExtensionFieldInherited(string ExtensionIdent, TStorageField field, out TResultStatus ret)
Parameters
SetLibraryDisabled(string, bool, out TResultStatus)
Declaration
void SetLibraryDisabled(string LibraryIdent, bool Disabled, out TResultStatus ret)
Parameters
Type |
Name |
Description |
string |
LibraryIdent |
|
bool |
Disabled |
|
TResultStatus |
ret |
|
SetLibraryFieldInherited(string, TStorageField, out TResultStatus)
Declaration
void SetLibraryFieldInherited(string LibraryIdent, TStorageField field, out TResultStatus ret)
Parameters
UnRegisterLibrary(string, out TResultStatus)
Declaration
void UnRegisterLibrary(string LibraryIdent, out TResultStatus ret)
Parameters