Interface IExtensionManager
Manager for extensions running in CAM Open API
Assembly: CAMAPI.Extensions.dll
Syntax
[InterfaceType(ComInterfaceType.InterfaceIsIUnknown)]
[Guid("5F953309-EC6F-4C54-A1BF-6C0B42A57C71")]
public interface IExtensionManager
Properties
ApiVersion
Get version CAMAPI.SDK which includes all interfaces
Declaration
string ApiVersion { get; }
Property Value
Logger
Declaration
IExtensionLogger Logger { get; }
Property Value
Methods
AddExtension(TStorageType, string, string, out TResultStatus)
Declaration
void AddExtension(TStorageType StorageType, string LibraryPath, string ExtensionTypeId, out TResultStatus ret)
Parameters
CreateExtension(string, out TResultStatus)
Declaration
IExtension CreateExtension(string ExtensionTypeId, out TResultStatus ret)
Parameters
Returns
CreateExtensionsByGroups(string, out TResultStatus)
Declaration
IListExtension CreateExtensionsByGroups(string ExtensionGroups, out TResultStatus ret)
Parameters
Returns
FreeExtension(long, out TResultStatus)
Declaration
void FreeExtension(long ExtensionInstanceId, out TResultStatus ret)
Parameters
FreeLibrary(string, out TResultStatus)
Declaration
void FreeLibrary(string LibraryPath, out TResultStatus ret)
Parameters
GetExtension(long, out TResultStatus)
Declaration
IExtension GetExtension(long ExtensionInstanceId, out TResultStatus ret)
Parameters
Returns
GetExtensionDisabled(TStorageType, string, out TResultStatus)
Declaration
bool GetExtensionDisabled(TStorageType StorageType, string ExtensionTypeId, out TResultStatus ret)
Parameters
Returns
GetExtensionDisabledFinal(string, out TResultStatus)
Declaration
bool GetExtensionDisabledFinal(string ExtensionTypeId, out TResultStatus ret)
Parameters
Returns
GetExtensionsByTypeId(string, out TResultStatus)
Declaration
IListExtension GetExtensionsByTypeId(string ExtensionTypeId, out TResultStatus ret)
Parameters
Returns
GetExtensionTypeGroups(out TResultStatus)
Declaration
IListString GetExtensionTypeGroups(out TResultStatus ret)
Parameters
Returns
GetExtensionTypeInfo(string, out TResultStatus)
Declaration
IExtensionTypeInfo GetExtensionTypeInfo(string ExtensionTypeId, out TResultStatus ret)
Parameters
Returns
GetExtensionTypeInfos(string, out TResultStatus)
Declaration
IListExtensionTypeInfo GetExtensionTypeInfos(string ExtensionTypeGroup, out TResultStatus ret)
Parameters
Type |
Name |
Description |
string |
ExtensionTypeGroup |
|
TResultStatus |
ret |
|
Returns
GetExtensionTypeInfosFromLibrary(string, out TResultStatus)
Declaration
IListExtensionTypeInfo GetExtensionTypeInfosFromLibrary(string LibraryPath, out TResultStatus ret)
Parameters
Returns
GetFieldInherited(TStorageType, string, TStorageField, out TResultStatus)
Declaration
bool GetFieldInherited(TStorageType StorageType, string EntityIdent, TStorageField field, out TResultStatus ret)
Parameters
Returns
GetLibrariesInfo()
Get information about all registered libraries
Declaration
IListExtensionLibraryInfo GetLibrariesInfo()
Returns
GetLibraryDisabled(TStorageType, string, out TResultStatus)
Declaration
bool GetLibraryDisabled(TStorageType StorageType, string LibraryPath, out TResultStatus ret)
Parameters
Returns
GetLibraryDisabledFinal(string, out TResultStatus)
Declaration
bool GetLibraryDisabledFinal(string LibraryPath, out TResultStatus ret)
Parameters
Returns
GetLibraryInfo(string, out TResultStatus)
Declaration
IExtensionLibraryInfo GetLibraryInfo(string ExtensionTypeId, out TResultStatus ret)
Parameters
Returns
GetLibraryLoaded(string, out TResultStatus)
Declaration
bool GetLibraryLoaded(string LibraryPath, out TResultStatus ret)
Parameters
Returns
GetLibraryStorages(string, out TResultStatus)
Declaration
IListInteger GetLibraryStorages(string LibraryPath, out TResultStatus ret)
Parameters
Returns
GetSingletonExtension(string, out TResultStatus)
Declaration
IExtension GetSingletonExtension(string ExtensionTypeId, out TResultStatus ret)
Parameters
Returns
RegisterLibrary(TStorageType, string, out TResultStatus)
Declaration
IExtensionLibraryInfo RegisterLibrary(TStorageType StorageType, string JsonFilePath, out TResultStatus ret)
Parameters
Returns
ReloadStorage(TStorageType, out TResultStatus)
Declaration
void ReloadStorage(TStorageType StorageType, out TResultStatus ret)
Parameters
RemoveExtension(TStorageType, string, string, out TResultStatus)
Declaration
void RemoveExtension(TStorageType StorageType, string LibraryPath, string ExtensionTypeId, out TResultStatus ret)
Parameters
SetExtensionDisabled(TStorageType, string, bool, out TResultStatus)
Declaration
void SetExtensionDisabled(TStorageType StorageType, string ExtensionTypeId, bool Disabled, out TResultStatus ret)
Parameters
SetFieldInherited(TStorageType, string, TStorageField, out TResultStatus)
Declaration
void SetFieldInherited(TStorageType StorageType, string EntityIdent, TStorageField field, out TResultStatus ret)
Parameters
SetLibraryDisabled(TStorageType, string, bool, out TResultStatus)
Declaration
void SetLibraryDisabled(TStorageType StorageType, string LibraryPath, bool Disabled, out TResultStatus ret)
Parameters
UnRegisterLibrary(string, out TResultStatus)
Declaration
void UnRegisterLibrary(string LibraryPath, out TResultStatus ret)
Parameters