Skip to content

Commit

Permalink
Use expression-bodied property
Browse files Browse the repository at this point in the history
  • Loading branch information
IvenBach committed Jun 14, 2019
1 parent 481a197 commit ea86960
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Rubberduck.Core/UI/Controls/SearchBox.xaml.cs
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ public string Hint
}
}

public ICommand ClearSearchCommand { get => new DelegateCommand(LogManager.GetCurrentClassLogger(), (arg) => Text = ""); }
public ICommand ClearSearchCommand => new DelegateCommand(LogManager.GetCurrentClassLogger(), (arg) => Text = "");

public SearchBox()
{
Expand Down

0 comments on commit ea86960

Please sign in to comment.