Class PrimeViewModelHelper
Inheritance
PrimeViewModelHelper
Assembly: CAMIPC.DotnetHelper.dll
Syntax
public static class PrimeViewModelHelper
Methods
ApplicationBelongs(ComWrapper<ICamIpcPrimeViewModel>, int)
Returns true if the application with the given PID is managed by this prime
Declaration
public static bool ApplicationBelongs(this ComWrapper<ICamIpcPrimeViewModel> primeCom, int processId)
Parameters
Returns
Close(ComWrapper<ICamIpcPrimeViewModel>)
Declaration
public static void Close(this ComWrapper<ICamIpcPrimeViewModel> primeCom)
Parameters
CloseApplication(ComWrapper<ICamIpcPrimeViewModel>, int)
Closes the CAM application with the given PID via the prime
Declaration
public static void CloseApplication(this ComWrapper<ICamIpcPrimeViewModel> primeCom, int processId)
Parameters
CreateApplication(ComWrapper<ICamIpcPrimeViewModel>, string)
Creates a new CAM application via the prime and returns its PID
Declaration
public static int CreateApplication(this ComWrapper<ICamIpcPrimeViewModel> primeCom, string args)
Parameters
Returns
ProcessId(ComWrapper<ICamIpcPrimeViewModel>)
Declaration
public static int ProcessId(this ComWrapper<ICamIpcPrimeViewModel> primeCom)
Parameters
Returns