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