Guard
StockSharp.Xaml.Charting.Utility
Allows assertions to be built with the following syntax: Guard.Assert(123).IsLessThan(456);
Métodos
ArgumentIsRealNumber(double)
Asserts that the argument is a real number
- doubleValue
- The double value.
Assert(IComparable, string) : GuardConstraint
Builds an assertion in conjunction with GuardConstraint
- value
- The value.
- argName
- Name of the arg.
DateTimeArgumentIsDefined(DateTime, string)
Asserts that the DateTime is defined, i.e. is not MinValue or MaxValue
- value
- The value.
- argName
- Name of the arg.