public void SetIsReadOnly() { _isReadOnly = true; } public bool IsReadOnly { get { return _isReadOnly; } }