Class OperationCatalogListHelper
Inheritance
OperationCatalogListHelper
Assembly: CAMIPC.DotnetHelper.dll
Syntax
public static class OperationCatalogListHelper
Methods
BeginUpdate(ComWrapper<ICamIpcOperationCatalogList>)
Begin a batch of edits: persisting is deferred until the matching EndUpdate
Declaration
public static void BeginUpdate(this ComWrapper<ICamIpcOperationCatalogList> listCom)
Parameters
Catalog(ComWrapper<ICamIpcOperationCatalogList>, int)
Get catalog by index (0..Count-1)
Declaration
public static ComWrapper<ICamIpcOperationCatalog> Catalog(this ComWrapper<ICamIpcOperationCatalogList> listCom, int index)
Parameters
Returns
Count(ComWrapper<ICamIpcOperationCatalogList>)
Declaration
public static int Count(this ComWrapper<ICamIpcOperationCatalogList> listCom)
Parameters
Returns
CreateCatalog(ComWrapper<ICamIpcOperationCatalogList>, string)
Create a new catalog as a copy of the currently active one
Declaration
public static ComWrapper<ICamIpcOperationCatalog> CreateCatalog(this ComWrapper<ICamIpcOperationCatalogList> listCom, string name)
Parameters
Returns
DeleteCatalog(ComWrapper<ICamIpcOperationCatalogList>, ComWrapper<ICamIpcOperationCatalog>)
Declaration
public static void DeleteCatalog(this ComWrapper<ICamIpcOperationCatalogList> listCom, ComWrapper<ICamIpcOperationCatalog> catalog)
Parameters
EndUpdate(ComWrapper<ICamIpcOperationCatalogList>)
End a batch of edits, persisting the accumulated changes when the outermost pair closes
Declaration
public static void EndUpdate(this ComWrapper<ICamIpcOperationCatalogList> listCom)
Parameters
EnumerateCatalogs(ComWrapper<ICamIpcOperationCatalogList>)
Declaration
public static IEnumerable<ComWrapper<ICamIpcOperationCatalog>> EnumerateCatalogs(this ComWrapper<ICamIpcOperationCatalogList> listCom)
Parameters
Returns
Export(ComWrapper<ICamIpcOperationCatalogList>, ComWrapper<ICamIpcOperationCatalog>, string)
Export the given catalog to a .zip file
Declaration
public static void Export(this ComWrapper<ICamIpcOperationCatalogList> listCom, ComWrapper<ICamIpcOperationCatalog> catalog, string filePath)
Parameters
Import(ComWrapper<ICamIpcOperationCatalogList>, string)
Import catalogs from a .zip file; imported catalogs appear in the list
Declaration
public static void Import(this ComWrapper<ICamIpcOperationCatalogList> listCom, string filePath)
Parameters