Class PrimeViewModelListHelper
Inheritance
PrimeViewModelListHelper
Assembly: CAMIPC.DotnetHelper.dll
Syntax
public static class PrimeViewModelListHelper
Methods
Count(ComWrapper<ICamIpcListPrimeViewModel>)
Declaration
public static int Count(this ComWrapper<ICamIpcListPrimeViewModel> listCom)
Parameters
Returns
EnumerateList(ComWrapper<ICamIpcListPrimeViewModel>)
Enumerates all primes in the list. Caller is responsible for disposing each yielded item.
Declaration
public static IEnumerable<ComWrapper<ICamIpcPrimeViewModel>> EnumerateList(this ComWrapper<ICamIpcListPrimeViewModel> listCom)
Parameters
Returns
Get(ComWrapper<ICamIpcListPrimeViewModel>, int)
Declaration
public static ComWrapper<ICamIpcPrimeViewModel> Get(this ComWrapper<ICamIpcListPrimeViewModel> listCom, int index)
Parameters
Returns
GetByProcessId(ComWrapper<ICamIpcListPrimeViewModel>, int)
Get prime by process ID. Returns null wrapper if not found.
Declaration
public static ComWrapper<ICamIpcPrimeViewModel> GetByProcessId(this ComWrapper<ICamIpcListPrimeViewModel> listCom, int processId)
Parameters
Returns