DataProcessor GetInstance T  Method NetworkComms.Net Help
Helper function to allow a DataProcessor to be implemented as a singleton. Returns the singleton instance generated by the DPSManager

Namespace: NetworkCommsDotNet.DPSBase
Assembly: NetworkCommsDotNet (in NetworkCommsDotNet.dll) Version: 3.0.0.0 (3.0.0.0)
Syntax

[ObsoleteAttribute("Instances of singleton DataProcessors should be accessed via the DPSManager")]
protected static T GetInstance<T>()
where T : DataProcessor
Type Parameters

T
The OnlineType of the DataProcessor to retrieve from the DPSManager

Return Value

Type: T
The singleton instance generated by the DPSManager
See Also