public object Convert(object intRange_value, Type targetType, object parameter, CultureInfo culture) { IntRange ir = (IntRange)intRange_value; return(new Point(ir.Start_i, ir.Count)); }
// value - IntRange visibleCandlesRange public object Convert(object value, Type targetType, object parameter, CultureInfo culture) { IntRange visibleCandlesRange = (IntRange)value; return(visibleCandlesRange.Count); }
///<summary>Determines whether the specified parameter intRange is Undefined.</summary> ///<seealso cref = "Undefined">Undefined</seealso> public static bool IsUndefined(IntRange intRange) { return(intRange.Start_i == int.MinValue && intRange.Count == int.MinValue); }
///<summary>Determines whether the specified parameter intRange is ContainingOnlyStart_i.</summary> ///<seealso cref = "CreateContainingOnlyStart_i">CreateContainingOnlyStart_i</seealso> public static bool IsContainsOnlyStart_i(IntRange intRange) { return(intRange.Count == int.MinValue && intRange.Start_i != int.MinValue); }
#pragma warning disable CS1591 // Missing XML comment for publicly visible type or member 'IntRange.IsContainsOnlyStart_i(IntRange)' public static bool IsContainsOnlyStart_i(IntRange intRange) #pragma warning restore CS1591 // Missing XML comment for publicly visible type or member 'IntRange.IsContainsOnlyStart_i(IntRange)' { return(intRange.Count == -6666); }
#pragma warning restore CS1591 // Missing XML comment for publicly visible type or member 'IntRange.Undefined' #pragma warning disable CS1591 // Missing XML comment for publicly visible type or member 'IntRange.IsUndefined(IntRange)' public static bool IsUndefined(IntRange intRange) #pragma warning restore CS1591 // Missing XML comment for publicly visible type or member 'IntRange.IsUndefined(IntRange)' { return(intRange.Start_i == int.MinValue && intRange.Count == int.MinValue); }
public CandleRangeChangeEventArgs(IntRange range) { CandleRange = range; }