Place parameters on separate lines
MODIFY
WalletWasabi.Gui/Behaviors/CommandBaseBehavior.cs
WalletWasabi.Gui/Behaviors/CommandBaseBehavior.cs
@@ -12,8 +12,11 @@ namespace WalletWasabi.Gui.Behaviors
/// Defines the <see cref="Command"/> property.
/// </summary>
public static readonly DirectProperty<CommandBasedBehavior<T>, ICommand> CommandProperty =
- AvaloniaProperty.RegisterDirect<CommandBasedBehavior<T>, ICommand>(nameof(Command), commandBehavior => commandBehavior.Command,
- (commandBehavior, command) => commandBehavior.Command = command, enableDataValidation: true);
+ AvaloniaProperty.RegisterDirect<CommandBasedBehavior<T>, ICommand>(
+ nameof(Command),
+ commandBehavior => commandBehavior.Command,
+ (commandBehavior, command) => commandBehavior.Command = command,
+ enableDataValidation: true);
/// <summary>
/// Defines the <see cref="CommandParameter"/> property.

MODIFY
WalletWasabi.Gui/Controls/ExtendedListBox.cs
WalletWasabi.Gui/Controls/ExtendedListBox.cs
@@ -10,7 +10,8 @@ namespace WalletWasabi.Gui.Controls
{
public ExtendedListBox()
{
- AddHandler(PointerPressedEvent,
+ AddHandler(
+ PointerPressedEvent,
(sender, e) =>
{
var properties = e.GetCurrentPoint(this).Properties;
@@ -24,7 +25,8 @@ namespace WalletWasabi.Gui.Controls
e.KeyModifiers.HasFlag(KeyModifiers.Control));
}
},
- RoutingStrategies.Tunnel, true);
+ RoutingStrategies.Tunnel,
+ true);
}
Type IStyleable.StyleKey => typeof(ListBox);

MODIFY
WalletWasabi.Tests/XunitConfiguration/RegTestFixture.cs
WalletWasabi.Tests/XunitConfiguration/RegTestFixture.cs
@@ -38,7 +38,8 @@ namespace WalletWasabi.Tests.XunitConfiguration
Directory.CreateDirectory(testnetBackendDir);
Thread.Sleep(100);
var config = new Config(
- BackendRegTestNode.RpcClient.Network, BackendRegTestNode.RpcClient.CredentialString.ToString(),
+ BackendRegTestNode.RpcClient.Network,
+ BackendRegTestNode.RpcClient.CredentialString.ToString(),
new IPEndPoint(IPAddress.Loopback, Network.Main.DefaultPort),
new IPEndPoint(IPAddress.Loopback, Network.TestNet.DefaultPort),
BackendRegTestNode.P2pEndPoint,

MODIFY
WalletWasabi/Extensions/TextReaderExtensions.cs
WalletWasabi/Extensions/TextReaderExtensions.cs
@@ -70,8 +70,12 @@ namespace System.IO
public static Task<string> ReadPartAsync(this TextReader me, char separator, CancellationToken ctsToken)
{
- return Task<string>.Factory.StartNew(state =>
- ((TextReader)state).ReadPart(separator), me, ctsToken, TaskCreationOptions.DenyChildAttach, TaskScheduler.Default);
+ return Task<string>.Factory.StartNew(
+ state => ((TextReader)state).ReadPart(separator),
+ me,
+ ctsToken,
+ TaskCreationOptions.DenyChildAttach,
+ TaskScheduler.Default);
}
}
}

Place parameters on separate lines