Skip to content

Instantly share code, notes, and snippets.

@wallstop
Created November 20, 2017 01:34
Show Gist options
  • Save wallstop/040c61ec064e540f67424a43a51856a6 to your computer and use it in GitHub Desktop.
Save wallstop/040c61ec064e540f67424a43a51856a6 to your computer and use it in GitHub Desktop.
private bool _removed;
public bool Removed {
get {
return _removed;
}
set {
if(_removed == value) {
return;
}
if(value) {
OnRemove();
}
_removed = value;
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment