Automated dotnet-format update
This commit is contained in:
1 parent
ad4c2f68aa
commit
2af18c2d38
403 files changed
+1569
-1567
No files matched your search
@@ -56,8 +56,8 @@ namespace HandyControl.Data
|
||||
public Color GetColor(double range)
|
||||
{
|
||||
if (range < 0 || range > 1) return default;
|
||||
return Color.FromArgb((byte)(_start.A - _subColorArr[0] * range), (byte)(_start.R - _subColorArr[1] * range),
|
||||
(byte)(_start.G - _subColorArr[2] * range), (byte)(_start.B - _subColorArr[3] * range));
|
||||
return Color.FromArgb((byte) (_start.A - _subColorArr[0] * range), (byte) (_start.R - _subColorArr[1] * range),
|
||||
(byte) (_start.G - _subColorArr[2] * range), (byte) (_start.B - _subColorArr[3] * range));
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -17,9 +17,9 @@ namespace HandyControl.Data
|
||||
}
|
||||
|
||||
public DateTime Start { get; set; }
|
||||
|
||||
|
||||
public DateTime End { get; set; }
|
||||
|
||||
public double TotalMilliseconds => (End - Start).TotalMilliseconds;
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -3,7 +3,7 @@
|
||||
public struct DoubleRange : IValueRange<double>
|
||||
{
|
||||
public double Start { get; set; }
|
||||
|
||||
|
||||
public double End { get; set; }
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user