1 write to _descriptor
System.ComponentModel.DataAnnotations (1)
DataAnnotations\MetadataPropertyDescriptorWrapper.cs (1)
14
_descriptor
= descriptor;
11 references to _descriptor
System.ComponentModel.DataAnnotations (11)
DataAnnotations\MetadataPropertyDescriptorWrapper.cs (11)
19
public override void AddValueChanged(object component, EventHandler handler) {
_descriptor
.AddValueChanged(component, handler); }
21
public override bool CanResetValue(object component) { return
_descriptor
.CanResetValue(component); }
23
public override Type ComponentType { get { return
_descriptor
.ComponentType; } }
25
public override object GetValue(object component) { return
_descriptor
.GetValue(component); }
32
return _isReadOnly ||
_descriptor
.IsReadOnly;
36
public override Type PropertyType { get { return
_descriptor
.PropertyType; } }
38
public override void RemoveValueChanged(object component, EventHandler handler) {
_descriptor
.RemoveValueChanged(component, handler); }
40
public override void ResetValue(object component) {
_descriptor
.ResetValue(component); }
42
public override void SetValue(object component, object value) {
_descriptor
.SetValue(component, value); }
44
public override bool ShouldSerializeValue(object component) { return
_descriptor
.ShouldSerializeValue(component); }
46
public override bool SupportsChangeEvents { get { return
_descriptor
.SupportsChangeEvents; } }