Skip to content
This repository was archived by the owner on Jun 21, 2023. It is now read-only.

Commit bdf28ef

Browse files
committed
Use expression bodies for properties
1 parent 85c1ae7 commit bdf28ef

File tree

1 file changed

+4
-8
lines changed

1 file changed

+4
-8
lines changed

src/GitHub.VisualStudio/UI/Views/GitHubPaneView.xaml.cs

Lines changed: 4 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,17 @@
11
using System;
22
using System.Collections.ObjectModel;
33
using System.ComponentModel.Composition;
4-
using System.Linq;
54
using System.Reactive.Disposables;
6-
using System.Windows;
7-
using System.Windows.Controls;
5+
using System.Windows.Input;
86
using GitHub.Exports;
97
using GitHub.Extensions;
108
using GitHub.Models;
11-
using GitHub.Primitives;
129
using GitHub.Services;
1310
using GitHub.UI;
11+
using GitHub.ViewModels;
1412
using GitHub.VisualStudio.Base;
1513
using GitHub.VisualStudio.Helpers;
1614
using NullGuard;
17-
using GitHub.ViewModels;
18-
using System.Windows.Input;
1915
using ReactiveUI;
2016

2117
namespace GitHub.VisualStudio.UI.Views
@@ -79,9 +75,9 @@ public ObservableCollection<IView> Controls
7975
}
8076

8177
public ReactiveCommand<object> CancelCommand { get; private set; }
82-
public ICommand Cancel { get { return CancelCommand; } }
78+
public ICommand Cancel => CancelCommand;
8379

84-
public bool IsShowing { get { return true; } }
80+
public bool IsShowing => true;
8581

8682
bool disposed = false;
8783
protected override void Dispose(bool disposing)

0 commit comments

Comments
 (0)