public ReadWriteDomain(bool isRead, bool isWrite) { Value = isWrite ? ReadWriteEnum.ReadWrite : (isRead ? ReadWriteEnum.Read : ReadWriteEnum.None); }
public ReadWriteDomain(ReadWriteEnum value) { Value = value; }