This repository was archived by the owner on Jun 21, 2023. It is now read-only.
File tree Expand file tree Collapse file tree 2 files changed +6
-10
lines changed
GitHub.UI.Reactive/Controls
GitHub.VisualStudio/UI/Views/Controls Expand file tree Collapse file tree 2 files changed +6
-10
lines changed Original file line number Diff line number Diff line change 11using System ;
2- using System . Diagnostics ;
32using System . Reactive . Linq ;
43using System . Reactive . Subjects ;
4+ using System . Windows ;
55using System . Windows . Controls ;
6- using System . Windows . Documents ;
76using System . Windows . Input ;
8- using System . Windows . Navigation ;
9- using ReactiveUI ;
10- using System . Windows ;
117using GitHub . ViewModels ;
128using NullGuard ;
9+ using ReactiveUI ;
1310
1411namespace GitHub . UI
1512{
@@ -38,11 +35,11 @@ public SimpleViewUserControl()
3835 } ) ;
3936 }
4037
41- public IObservable < object > Done { get { return close ; } }
38+ public IObservable < object > Done => close ;
4239
43- public IObservable < object > Cancel { get { return cancel ; } }
40+ public IObservable < object > Cancel => cancel ;
4441
45- public IObservable < bool > IsBusy { get { return isBusy ; } }
42+ public IObservable < bool > IsBusy => isBusy ;
4643
4744 protected void NotifyDone ( )
4845 {
@@ -110,7 +107,7 @@ public TViewModel ViewModel
110107 TViewModel IViewFor < TViewModel > . ViewModel
111108 {
112109 get { return ViewModel ; }
113- set { ViewModel = ( TViewModel ) value ; }
110+ set { ViewModel = value ; }
114111 }
115112 }
116113}
Original file line number Diff line number Diff line change 77using GitHub . Extensions ;
88using GitHub . UI ;
99using GitHub . ViewModels ;
10- using NullGuard ;
1110using ReactiveUI ;
1211using System . ComponentModel . Composition ;
1312
You can’t perform that action at this time.
0 commit comments