Skip to content

Commit

Permalink
add avoid using SyntaxFactory prifex option
Browse files Browse the repository at this point in the history
  • Loading branch information
小 林 committed Mar 17, 2021
1 parent 60cdd4e commit d95d306
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 1 deletion.
2 changes: 1 addition & 1 deletion RoslynSyntaxTool/MainWindow.xaml.cs
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ private void MainWindow_Loaded(object sender, RoutedEventArgs e)
{
SettingInfo = new SettingInfo()
{
AvoidUsingStatic = true
};
LocalDataService.SaveObjectLocal(SettingInfo);
Expand Down
10 changes: 10 additions & 0 deletions RoslynSyntaxTool/View/SettingPage.xaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,16 @@

<Grid>
<StackPanel Margin="20,0">
<Grid Margin="0,10">
<Grid.ColumnDefinitions>
<ColumnDefinition Width="*"></ColumnDefinition>
<ColumnDefinition Width="2*"></ColumnDefinition>
</Grid.ColumnDefinitions>
<Label Content="使用SyntaxFactory库前缀"></Label>

<mah:ToggleSwitch Grid.Column="1"
IsOn="{Binding SettingInfo.AvoidUsingStatic}"></mah:ToggleSwitch>
</Grid>
<Grid Margin="0,10">
<Grid.ColumnDefinitions>
<ColumnDefinition Width="*"></ColumnDefinition>
Expand Down

0 comments on commit d95d306

Please sign in to comment.