17 using System.Runtime.CompilerServices;
26 public static partial class Messages
36 [MethodImpl(MethodImplOptions.AggressiveInlining)]
39 return $
"Object must be of type {type.GetBetterTypeName()}";
45 [MethodImpl(MethodImplOptions.AggressiveInlining)]
46 public static string ToString(Indicators.IndicatorDataPoint instance)
48 return Invariant($
"{instance.Time.ToStringInvariant("s
")} - {instance.Value}");
54 [MethodImpl(MethodImplOptions.AggressiveInlining)]
57 return $
"IndicatorDataPoint does not support the {methodName} function. This function should never be called on this type.";
69 public static string InvalidSize =
"RollingWindow must have size of at least 1.";