Table of Contents

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.Font in 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 of Font, 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 uses System.Drawing.Font instead. The family name is not checked against the installed fonts.

Added in ATAS 8.0.15.

UniversalFontFamily

The cross-platform replacement of System.Drawing.FontFamily used 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.Pen in 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 of Pen, 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 uses System.Drawing.Pen instead. 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 using statement.

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.