Skip to content

Commit

Permalink
#466 Update samples to use Set
Browse files Browse the repository at this point in the history
  • Loading branch information
nigel-sampson committed Sep 16, 2017
1 parent 91a0dcd commit 8b8589e
Show file tree
Hide file tree
Showing 8 changed files with 8 additions and 37 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,5 @@
<Compile Include="$(MSBuildThisFileDirectory)ViewModels\NavigationSourceViewModel.cs" />
<Compile Include="$(MSBuildThisFileDirectory)ViewModels\NavigationTargetViewModel.cs" />
<Compile Include="$(MSBuildThisFileDirectory)ViewModels\TabViewModel.cs" />
<Compile Include="$(MSBuildThisFileDirectory)ViewModels\ViewModelExtensions.cs" />
</ItemGroup>
</Project>
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ public Task SayGoodbyeAsync(string name)
public string Output
{
get { return output; }
set { this.Set(ref output, value); }
set { Set(ref output, value); }
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ public BindingsViewModel()
public ActivityBaseViewModel SelectedActivity
{
get { return selectedActivity; }
set { this.Set(ref selectedActivity, value); }
set { Set(ref selectedActivity, value); }
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ public EventSourceViewModel(IEventAggregator eventAggregator)
public string Text
{
get { return text; }
set { this.Set(ref text, value); }
set { Set(ref text, value); }
}

public void Publish()
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ public class ExecuteViewModel : Screen
public bool Safe
{
get { return safe; }
set { this.Set(ref safe, value); }
set { Set(ref safe, value); }
}

public void StartBackgroundWork()
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,13 +21,13 @@ public NavigationSourceViewModel(INavigationService navigationService)
public string Text
{
get { return text; }
set { this.Set(ref text, value); }
set { Set(ref text, value); }
}

public bool IsEnabled
{
get { return isEnabled; }
set { this.Set(ref isEnabled, value); }
set { Set(ref isEnabled, value); }
}

public void Navigate()
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,13 +11,13 @@ public class NavigationTargetViewModel : Screen
public string Text
{
get { return text; }
set { this.Set(ref text, value); }
set { Set(ref text, value); }
}

public bool IsEnabled
{
get { return isEnabled; }
set { this.Set(ref isEnabled, value); }
set { Set(ref isEnabled, value); }
}
}
}

This file was deleted.

0 comments on commit 8b8589e

Please sign in to comment.