Created
November 20, 2017 01:34
-
-
Save wallstop/040c61ec064e540f67424a43a51856a6 to your computer and use it in GitHub Desktop.
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
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