Last active
October 24, 2017 21:50
-
-
Save heytherewill/ee58004928a2dcb67f3d39f13fb4526f to your computer and use it in GitHub Desktop.
Code snippets for ".NET IL Weaving for those who know nothing about .NET IL Weaving"
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
namespace NonWoven | |
{ | |
//BaseViewModel implements INotifyPropertyChanged | |
public sealed class LoginViewModel : BaseViewModel | |
{ | |
private bool _isLoading; | |
public bool IsLoading | |
{ | |
get => _isLoading; | |
set | |
{ | |
if (_isLoading == value) return; | |
_isLoading = value; | |
RaisePropertyChanged(); | |
} | |
} | |
private string _email; | |
public string Email | |
{ | |
get => _email; | |
set | |
{ | |
if (_email == value) return; | |
_email = value; | |
RaisePropertyChanged(); | |
} | |
} | |
private string _password; | |
public string Password | |
{ | |
get => _password; | |
set | |
{ | |
if (_password == value) return; | |
_password = value; | |
RaisePropertyChanged(); | |
} | |
} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment