Chronos Plugins 5.9.0
This documentation covers the plugin interfaces definitions and an example implementation.
|
Custom property descriptor, redirecting get/set into our mPropsValues dictionary. More...
Public Member Functions | |
MyPropertyDescriptor (string name, Type proptype, string unit=null) | |
void | AddAttribute (Attribute someAttr) |
override void | SetValue (object component, object value) |
override object | GetValue (object component) |
override bool | CanResetValue (object component) |
override void | ResetValue (object component) |
override bool | ShouldSerializeValue (object component) |
Protected Member Functions | |
override void | FillAttributes (System.Collections.IList attributeList) |
Properties | |
override Type | PropertyType [get] |
override Type | ComponentType [get] |
override bool | IsReadOnly [get] |
Private Attributes | |
readonly List< Attribute > | mExtraAttributes = new List<Attribute>() |
readonly string | mName |
Custom property descriptor, redirecting get/set into our mPropsValues dictionary.
Definition at line 100 of file MockDynamicProperties.cs.
MockPlugin.Tasks.FlexibleArguments.MyPropertyDescriptor.MyPropertyDescriptor | ( | string | name, |
Type | proptype, | ||
string | unit = null ) |
Definition at line 105 of file MockDynamicProperties.cs.
References MockPlugin.Tasks.FlexibleArguments.MyPropertyDescriptor.AddAttribute(), MockPlugin.Tasks.FlexibleArguments.MyPropertyDescriptor.mName, and MockPlugin.Tasks.FlexibleArguments.MyPropertyDescriptor.PropertyType.
void MockPlugin.Tasks.FlexibleArguments.MyPropertyDescriptor.AddAttribute | ( | Attribute | someAttr | ) |
Definition at line 113 of file MockDynamicProperties.cs.
References MockPlugin.Tasks.FlexibleArguments.MyPropertyDescriptor.mExtraAttributes.
Referenced by MockPlugin.Tasks.FlexibleArguments.MyPropertyDescriptor.MyPropertyDescriptor().
override bool MockPlugin.Tasks.FlexibleArguments.MyPropertyDescriptor.CanResetValue | ( | object | component | ) |
Definition at line 143 of file MockDynamicProperties.cs.
|
protected |
Definition at line 118 of file MockDynamicProperties.cs.
References MockPlugin.Tasks.FlexibleArguments.MyPropertyDescriptor.mExtraAttributes.
override object MockPlugin.Tasks.FlexibleArguments.MyPropertyDescriptor.GetValue | ( | object | component | ) |
Definition at line 136 of file MockDynamicProperties.cs.
References MockPlugin.Tasks.FlexibleArguments.FlexibleArguments(), MockPlugin.Tasks.FlexibleArguments.MyPropertyDescriptor.mName, and MockPlugin.Tasks.FlexibleArguments.mPropsValues.
override void MockPlugin.Tasks.FlexibleArguments.MyPropertyDescriptor.ResetValue | ( | object | component | ) |
Definition at line 148 of file MockDynamicProperties.cs.
override void MockPlugin.Tasks.FlexibleArguments.MyPropertyDescriptor.SetValue | ( | object | component, |
object | value ) |
Definition at line 131 of file MockDynamicProperties.cs.
References MockPlugin.Tasks.FlexibleArguments.FlexibleArguments(), MockPlugin.Tasks.FlexibleArguments.MyPropertyDescriptor.mName, and MockPlugin.Tasks.FlexibleArguments.mPropsValues.
override bool MockPlugin.Tasks.FlexibleArguments.MyPropertyDescriptor.ShouldSerializeValue | ( | object | component | ) |
Definition at line 155 of file MockDynamicProperties.cs.
|
private |
Definition at line 102 of file MockDynamicProperties.cs.
Referenced by MockPlugin.Tasks.FlexibleArguments.MyPropertyDescriptor.AddAttribute(), and MockPlugin.Tasks.FlexibleArguments.MyPropertyDescriptor.FillAttributes().
|
private |
|
get |
Definition at line 129 of file MockDynamicProperties.cs.
|
get |
Definition at line 153 of file MockDynamicProperties.cs.
|
get |
Definition at line 127 of file MockDynamicProperties.cs.
Referenced by MockPlugin.Tasks.FlexibleArguments.MyPropertyDescriptor.MyPropertyDescriptor().