Skip to content
This repository was archived by the owner on May 1, 2024. It is now read-only.

Commit 2c26775

Browse files
Automated dotnet-format update (#1698)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
1 parent 27dcf50 commit 2c26775

File tree

9 files changed

+34
-34
lines changed

9 files changed

+34
-34
lines changed

src/CommunityToolkit/Xamarin.CommunityToolkit.UnitTests/Behaviors/Animations/AnimationTypes/RubberbandAnimation_Tests.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,4 +57,4 @@ public async Task AnAbortedAnimationShouldNotReturnToOriginalValues()
5757
Assert.AreNotEqual(1, view.ValuesSet[nameof(View.ScaleY)].Last());
5858
}
5959
}
60-
}
60+
}

src/CommunityToolkit/Xamarin.CommunityToolkit.UnitTests/Behaviors/Animations/AnimationTypes/TadaAnimation_Tests.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,4 +57,4 @@ public async Task AnAbortedAnimationShouldNotReturnToOriginalValues()
5757
Assert.AreNotEqual(0, view.ValuesSet[nameof(View.Rotation)].Last());
5858
}
5959
}
60-
}
60+
}

src/CommunityToolkit/Xamarin.CommunityToolkit.UnitTests/Behaviors/Animations/AnimationWrapper_Tests.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,4 +74,4 @@ public void IsRunningShouldReportStatus()
7474
Assert.IsTrue(animationWrapper.IsRunning);
7575
}
7676
}
77-
}
77+
}

src/CommunityToolkit/Xamarin.CommunityToolkit.UnitTests/Mocks/MockView.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,4 +28,4 @@ protected override void OnPropertyChanged([CallerMemberName] string? propertyNam
2828
ValuesSet[propertyName].Add(value);
2929
}
3030
}
31-
}
31+
}

src/CommunityToolkit/Xamarin.CommunityToolkit/Behaviors/Animations/AnimationTypes/CompoundAnimationBase.shared.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -105,4 +105,4 @@ AnimationWrapper CreateAnimation(
105105
/// <returns>The <see cref="Animation"/> that will be run.</returns>
106106
protected abstract Animation CreateAnimation(params View[] views);
107107
}
108-
}
108+
}

src/CommunityToolkit/Xamarin.CommunityToolkit/Behaviors/Animations/AnimationTypes/RubberBandAnimation.shared.cs

Lines changed: 26 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
namespace Xamarin.CommunityToolkit.Behaviors
44
{
5-
/// <summary>
5+
/// <summary>
66
/// A 'Rubber band' animation. Results in:
77
/// <list type="bullet">
88
/// <item>stretching the width and squashing the height</item>
@@ -11,39 +11,39 @@ namespace Xamarin.CommunityToolkit.Behaviors
1111
/// </list>
1212
/// </summary>
1313
public class RubberBandAnimation : CompoundAnimationBase
14-
{
15-
/// <inheritdoc />
16-
protected override uint DefaultDuration { get; set; } = 1000;
14+
{
15+
/// <inheritdoc />
16+
protected override uint DefaultDuration { get; set; } = 1000;
1717

18-
/// <inheritdoc />
19-
protected override Animation CreateAnimation(params View[] views) => Create(views);
18+
/// <inheritdoc />
19+
protected override Animation CreateAnimation(params View[] views) => Create(views);
2020

21-
static Animation Create(params View[] views)
21+
static Animation Create(params View[] views)
2222
{
23-
var animation = new Animation();
23+
var animation = new Animation();
2424

25-
foreach (var view in views)
26-
{
27-
animation.Add(0, 0.3, new Animation(v => view.ScaleX = v, 1, 1.25));
28-
animation.Add(0, 0.3, new Animation(v => view.ScaleY = v, 1, 0.75));
25+
foreach (var view in views)
26+
{
27+
animation.Add(0, 0.3, new Animation(v => view.ScaleX = v, 1, 1.25));
28+
animation.Add(0, 0.3, new Animation(v => view.ScaleY = v, 1, 0.75));
2929

30-
animation.Add(0.3, 0.4, new Animation(v => view.ScaleX = v, 1.25, 0.75));
31-
animation.Add(0.3, 0.4, new Animation(v => view.ScaleY = v, 0.75, 1.25));
30+
animation.Add(0.3, 0.4, new Animation(v => view.ScaleX = v, 1.25, 0.75));
31+
animation.Add(0.3, 0.4, new Animation(v => view.ScaleY = v, 0.75, 1.25));
3232

33-
animation.Add(0.4, 0.5, new Animation(v => view.ScaleX = v, 0.75, 1.15));
34-
animation.Add(0.4, 0.5, new Animation(v => view.ScaleY = v, 1.25, 0.85));
33+
animation.Add(0.4, 0.5, new Animation(v => view.ScaleX = v, 0.75, 1.15));
34+
animation.Add(0.4, 0.5, new Animation(v => view.ScaleY = v, 1.25, 0.85));
3535

36-
animation.Add(0.5, 0.65, new Animation(v => view.ScaleX = v, 1.15, 0.95));
37-
animation.Add(0.5, 0.65, new Animation(v => view.ScaleY = v, 0.85, 1.05));
36+
animation.Add(0.5, 0.65, new Animation(v => view.ScaleX = v, 1.15, 0.95));
37+
animation.Add(0.5, 0.65, new Animation(v => view.ScaleY = v, 0.85, 1.05));
3838

39-
animation.Add(0.65, 0.75, new Animation(v => view.ScaleX = v, 0.95, 1.05));
40-
animation.Add(0.65, 0.75, new Animation(v => view.ScaleY = v, 1.05, 0.95));
39+
animation.Add(0.65, 0.75, new Animation(v => view.ScaleX = v, 0.95, 1.05));
40+
animation.Add(0.65, 0.75, new Animation(v => view.ScaleY = v, 1.05, 0.95));
4141

42-
animation.Add(0.75, 1, new Animation(v => view.ScaleX = v, 1.05, 1));
43-
animation.Add(0.75, 1, new Animation(v => view.ScaleY = v, 0.95, 1));
44-
}
42+
animation.Add(0.75, 1, new Animation(v => view.ScaleX = v, 1.05, 1));
43+
animation.Add(0.75, 1, new Animation(v => view.ScaleY = v, 0.95, 1));
44+
}
4545

46-
return animation;
47-
}
46+
return animation;
47+
}
4848
}
49-
}
49+
}

src/CommunityToolkit/Xamarin.CommunityToolkit/Behaviors/Animations/AnimationTypes/TadaAnimation.shared.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -87,4 +87,4 @@ static Animation Create(double rotationAngle, double minimumScale, double maximu
8787
return animation;
8888
}
8989
}
90-
}
90+
}

src/CommunityToolkit/Xamarin.CommunityToolkit/Behaviors/Animations/AnimationWrapper.shared.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,4 +50,4 @@ public AnimationWrapper(
5050
/// </summary>
5151
public bool IsRunning => owner.AnimationIsRunning(name);
5252
}
53-
}
53+
}

src/CommunityToolkit/Xamarin.CommunityToolkit/Extensions/TaskExtensions.shared.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,4 +27,4 @@ public static Task WhenCanceled(this CancellationToken cancellationToken)
2727
return completionSource.Task;
2828
}
2929
}
30-
}
30+
}

0 commit comments

Comments
 (0)