Chronos Plugins
5.2.0
This documentation covers the plugin interfaces definitions and an example implementation.
|
Helper factories for utility classes implemented within Chronos More...
Public Member Functions | |
System.IO.Ports.SerialPort | CreateSafeSerialPort () |
Returns a modified serial port class instance that avoids some problems of the original component. More... | |
T | CreateViewModel< T > () |
Create a working instance for one of the abstract classes in WPF/ViewModels. More... | |
T | CreateView< T > () |
Create the standard view for one of the WPF/ViewModels classes. More... | |
Helper factories for utility classes implemented within Chronos
Definition at line 259 of file Helpers.cs.
System.IO.Ports.SerialPort AxelSemrau.Chronos.Plugin.IUtilityFactories.CreateSafeSerialPort | ( | ) |
Returns a modified serial port class instance that avoids some problems of the original component.
Contains currently a workaround for an "ObjectDisposedException" on a background thread that causes the whole program to crash on garbage collection. Happens only after some kinds of errors and not with all serial port types.
T AxelSemrau.Chronos.Plugin.IUtilityFactories.CreateView< T > | ( | ) |
Create the standard view for one of the WPF/ViewModels classes.
T |
T | : | FrameworkElement |
T AxelSemrau.Chronos.Plugin.IUtilityFactories.CreateViewModel< T > | ( | ) |
Create a working instance for one of the abstract classes in WPF/ViewModels.
T |
T | : | class |