Automated dotnet-format update

This commit is contained in:
github-actions-dotnet-formatter[bot] committed 2020-12-04 15:12:55 +00:00
1 parent ad4c2f68aa
commit 2af18c2d38
403 files changed
+1569 -1567

No files matched your search

@@ -20,7 +20,7 @@ namespace HandyControl.Media.Animation
public GeometryAnimation()
{
}
public GeometryAnimation(string fromValue, string toValue) : this()
@@ -61,7 +61,7 @@ namespace HandyControl.Media.Animation
FillBehavior = fillBehavior;
}
public new GeometryAnimation Clone() => (GeometryAnimation)base.Clone();
public new GeometryAnimation Clone() => (GeometryAnimation) base.Clone();
protected override Freezable CreateInstanceCore() => new GeometryAnimation();
@@ -96,10 +96,10 @@ namespace HandyControl.Media.Animation
}
var accumulated = new double[_numbersAccumulator.Length];
if (IsCumulative)
{
var currentRepeat = (double)(animationClock.CurrentIteration - 1);
var currentRepeat = (double) (animationClock.CurrentIteration - 1);
if (currentRepeat > 0.0)
{
@@ -136,7 +136,7 @@ namespace HandyControl.Media.Animation
public Geometry From
{
get => (Geometry)GetValue(FromProperty);
get => (Geometry) GetValue(FromProperty);
set => SetValue(FromProperty, value);
}
@@ -145,7 +145,7 @@ namespace HandyControl.Media.Animation
private static void OnToChanged(DependencyObject d, DependencyPropertyChangedEventArgs e)
{
var obj = (GeometryAnimation)d;
var obj = (GeometryAnimation) d;
if (e.NewValue is Geometry geometry)
{
var geometryStr = geometry.ToString(CultureInfo.InvariantCulture);
@@ -157,7 +157,7 @@ namespace HandyControl.Media.Animation
public Geometry To
{
get => (Geometry)GetValue(ToProperty);
get => (Geometry) GetValue(ToProperty);
set => SetValue(ToProperty, value);
}
@@ -166,14 +166,14 @@ namespace HandyControl.Media.Animation
public IEasingFunction EasingFunction
{
get => (IEasingFunction)GetValue(EasingFunctionProperty);
get => (IEasingFunction) GetValue(EasingFunctionProperty);
set => SetValue(EasingFunctionProperty, value);
}
public bool IsCumulative
{
get => (bool)GetValue(IsCumulativeProperty);
get => (bool) GetValue(IsCumulativeProperty);
set => SetValue(IsCumulativeProperty, value);
}
}
}
}