Remove XAMLStyler

pull/811/head
Tyrrrz 3 years ago
parent 214d5e3bdb
commit 2393a6a472

@ -1,12 +0,0 @@
{
"version": 1,
"isRoot": true,
"tools": {
"xamlstyler.console": {
"version": "3.2008.4",
"commands": [
"xstyler"
]
}
}
}

@ -53,7 +53,7 @@ namespace DiscordChatExporter.Gui.Behaviors
}
// Propagate selected items from view to model
private void OnListBoxSelectionChanged(object sender, SelectionChangedEventArgs args)
private void OnListBoxSelectionChanged(object? sender, SelectionChangedEventArgs args)
{
if (_viewHandled) return;
if (AssociatedObject.Items.SourceCollection is null) return;
@ -62,7 +62,7 @@ namespace DiscordChatExporter.Gui.Behaviors
}
// Re-select items when the set of items changes
private void OnListBoxItemsChanged(object sender, NotifyCollectionChangedEventArgs args)
private void OnListBoxItemsChanged(object? sender, NotifyCollectionChangedEventArgs args)
{
if (_viewHandled) return;
if (AssociatedObject.Items.SourceCollection is null) return;

@ -33,9 +33,4 @@
<ProjectReference Include="..\DiscordChatExporter.Core\DiscordChatExporter.Core.csproj" />
</ItemGroup>
<Target Name="Format XAML" AfterTargets="BeforeBuild">
<Exec Command="dotnet tool restore" />
<Exec Command="dotnet xstyler -r -d $(MSBuildProjectDirectory)" />
</Target>
</Project>
Loading…
Cancel
Save