1 write to _descriptor
System.ComponentModel.Annotations (1)
System\ComponentModel\DataAnnotations\MetadataPropertyDescriptorWrapper.cs (1)
14
_descriptor
= descriptor;
11 references to _descriptor
System.ComponentModel.Annotations (11)
System\ComponentModel\DataAnnotations\MetadataPropertyDescriptorWrapper.cs (11)
26
public override void AddValueChanged(object component, EventHandler handler) {
_descriptor
.AddValueChanged(component, handler); }
28
public override bool CanResetValue(object component) { return
_descriptor
.CanResetValue(component); }
30
public override Type ComponentType { get { return
_descriptor
.ComponentType; } }
32
public override object? GetValue(object? component) { return
_descriptor
.GetValue(component); }
41
return _isReadOnly ||
_descriptor
.IsReadOnly;
45
public override Type PropertyType { get { return
_descriptor
.PropertyType; } }
47
public override void RemoveValueChanged(object component, EventHandler handler) {
_descriptor
.RemoveValueChanged(component, handler); }
49
public override void ResetValue(object component) {
_descriptor
.ResetValue(component); }
51
public override void SetValue(object? component, object? value) {
_descriptor
.SetValue(component, value); }
53
public override bool ShouldSerializeValue(object component) { return
_descriptor
.ShouldSerializeValue(component); }
55
public override bool SupportsChangeEvents { get { return
_descriptor
.SupportsChangeEvents; } }