Skip to content

Instantly share code, notes, and snippets.

@heytherewill
Last active October 24, 2017 21:50
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save heytherewill/ee58004928a2dcb67f3d39f13fb4526f to your computer and use it in GitHub Desktop.
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"
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