private SetState ( int flag, bool value ) : void | ||
flag | int | A flag that represents the state to be set |
value | bool | The new value of the state |
리턴 | void |
internal void SetState(int flag, bool value)
{
this.state = (byte) (value ? (this.state | flag) : (this.state & ~flag));
}