Namespace Utils.Common
Classes
- PerformanceDiagnoser
Allows to track performance time of critical methods
Stores all execution times for a Interval
- UniversalFont
The cross-platform replacement of
System.Drawing.Fontin ATAS X builds: an immutable description of a font (family name, size, style, unit) that owns no native resources and needs no disposal. Indicators built for ATAS X use it in place ofFont, and the font references of indicators compiled for the classic platform are retargeted to it when they are loaded on ATAS X. The classic platform build usesSystem.Drawing.Fontinstead. The family name is not checked against the installed fonts.Added in ATAS 8.0.15.
- UniversalFontFamily
The cross-platform replacement of
System.Drawing.FontFamilyused by UniversalFont: only the family name, which is not checked against the installed fonts.Added in ATAS 8.0.15.
- UniversalPen
The cross-platform replacement of
System.Drawing.Penin ATAS X builds: a plain description of a line style that owns no native resources and needs no disposal. Indicators built for ATAS X use it in place ofPen, and the pen references of indicators compiled for the classic platform are retargeted to it when they are loaded on ATAS X. The classic platform build usesSystem.Drawing.Peninstead. Not thread-safe.Added in ATAS 8.0.15.
Structs
- PerfCounter
A measurement started by Measure(string): the time between its creation and Dispose() is recorded under its name. Use it in a
usingstatement.
Interfaces
- IIdGenerator
Issues increasing numeric ids, for example the client ids of orders and requests of a connector. All the Get methods advance the same sequence.