Chronos Plugins 5.9.0
This documentation covers the plugin interfaces definitions and an example implementation.
Loading...
Searching...
No Matches
MockPlugin.AcquisitionService.DynamicAcqPars.StringListPropertyDescriptor Class Reference

Maps a property to an entry in our string list. More...

+ Inheritance diagram for MockPlugin.AcquisitionService.DynamicAcqPars.StringListPropertyDescriptor:
+ Collaboration diagram for MockPlugin.AcquisitionService.DynamicAcqPars.StringListPropertyDescriptor:

Public Member Functions

 StringListPropertyDescriptor (List< string > fakePars, int index)
 
override bool CanResetValue (object component)
 
override object GetValue (object component)
 
override void ResetValue (object component)
 
override void SetValue (object component, object value)
 
override bool ShouldSerializeValue (object component)
 

Properties

override Type ComponentType [get]
 
override bool IsReadOnly [get]
 
override Type PropertyType [get]
 

Private Attributes

readonly int mIndex
 
readonly List< string > mParList
 

Detailed Description

Maps a property to an entry in our string list.

Definition at line 78 of file MockDynamicParAcquisitionService.cs.

Constructor & Destructor Documentation

◆ StringListPropertyDescriptor()

MockPlugin.AcquisitionService.DynamicAcqPars.StringListPropertyDescriptor.StringListPropertyDescriptor ( List< string > fakePars,
int index )

Definition at line 83 of file MockDynamicParAcquisitionService.cs.

83 : base(name:$"DynPar{index+1}",attrs: new Attribute[] { })
84 {
85 mParList = fakePars;
86 mIndex = index;
87 }

Member Function Documentation

◆ CanResetValue()

override bool MockPlugin.AcquisitionService.DynamicAcqPars.StringListPropertyDescriptor.CanResetValue ( object component)

Definition at line 91 of file MockDynamicParAcquisitionService.cs.

92 {
93 return false;
94 }

◆ GetValue()

override object MockPlugin.AcquisitionService.DynamicAcqPars.StringListPropertyDescriptor.GetValue ( object component)

◆ ResetValue()

override void MockPlugin.AcquisitionService.DynamicAcqPars.StringListPropertyDescriptor.ResetValue ( object component)

Definition at line 101 of file MockDynamicParAcquisitionService.cs.

102 {
103
104 }

◆ SetValue()

override void MockPlugin.AcquisitionService.DynamicAcqPars.StringListPropertyDescriptor.SetValue ( object component,
object value )

◆ ShouldSerializeValue()

override bool MockPlugin.AcquisitionService.DynamicAcqPars.StringListPropertyDescriptor.ShouldSerializeValue ( object component)

Definition at line 111 of file MockDynamicParAcquisitionService.cs.

112 {
113 return true;
114 }

Member Data Documentation

◆ mIndex

readonly int MockPlugin.AcquisitionService.DynamicAcqPars.StringListPropertyDescriptor.mIndex
private

◆ mParList

readonly List<string> MockPlugin.AcquisitionService.DynamicAcqPars.StringListPropertyDescriptor.mParList
private

Property Documentation

◆ ComponentType

override Type MockPlugin.AcquisitionService.DynamicAcqPars.StringListPropertyDescriptor.ComponentType
get

Definition at line 116 of file MockDynamicParAcquisitionService.cs.

◆ IsReadOnly

override bool MockPlugin.AcquisitionService.DynamicAcqPars.StringListPropertyDescriptor.IsReadOnly
get

Definition at line 117 of file MockDynamicParAcquisitionService.cs.

◆ PropertyType

override Type MockPlugin.AcquisitionService.DynamicAcqPars.StringListPropertyDescriptor.PropertyType
get

Definition at line 118 of file MockDynamicParAcquisitionService.cs.


The documentation for this class was generated from the following file: