Class PropertyAccessor
Represents PropertyAccessor class
Inheritance
System.Object
PropertyAccessor
Implements
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Syncfusion.Windows.Chart
Assembly: Syncfusion.Chart.Wpf.dll
Syntax
public class PropertyAccessor : IPropertyAccessor
Constructors
PropertyAccessor(PropertyInfo)
Called when instance created for PropertyAccessor
Declaration
public PropertyAccessor(PropertyInfo propertyInfo)
Parameters
Type | Name | Description |
---|---|---|
System.Reflection.PropertyInfo | propertyInfo |
Properties
PropertyInfo
Get and Set PropertyInfoProperty
Declaration
public PropertyInfo PropertyInfo { get; }
Property Value
Type |
---|
System.Reflection.PropertyInfo |
Methods
GetValue(Object)
return object value from the given object
Declaration
public object GetValue(object o)
Parameters
Type | Name | Description |
---|---|---|
System.Object | o |
Returns
Type |
---|
System.Object |
Exceptions
Type | Condition |
---|---|
System.NotSupportedException |
SetValue(Object, Object)
Non-return method implementation for Setvalue
Declaration
public void SetValue(object o, object value)
Parameters
Type | Name | Description |
---|---|---|
System.Object | o | |
System.Object | value |
Exceptions
Type | Condition |
---|---|
System.NotSupportedException |
Explicit Interface Implementations
IPropertyAccessor.GetValue(Object)
Declaration
object IPropertyAccessor.GetValue(object instance)
Parameters
Type | Name | Description |
---|---|---|
System.Object | instance |
Returns
Type |
---|
System.Object |
IPropertyAccessor.SetValue(Object, Object)
Declaration
void IPropertyAccessor.SetValue(object instance, object value)
Parameters
Type | Name | Description |
---|---|---|
System.Object | instance | |
System.Object | value |