ClassDescriptorValueStore
Class
Object that can persist a list of values captured at a certain point in time for a descriptor
Definition
Namespace:ArtOfTest.Common.Design.Extensibility
Assembly:ArtOfTest.WebAii.Design.dll
Syntax:
cs-api-definition
public class DescriptorValueStore
Inheritance: objectDescriptorValueStore
Constructors
DescriptorValueStore(DescriptorValueStore)
Create a new store, copying the contents of an existing one
Declaration
cs-api-definition
public DescriptorValueStore(DescriptorValueStore toCopy)
Parameters
toCopy
The store to make a copy of. References to object values in the source store are copied into the new store, so the two stores are not decoupled.
Properties
Methods
AddPairs(params object[])
Add pairs to the store. This can be used to add bulk items
Declaration
cs-api-definition
public void AddPairs(params object[] nameValuePairs)
Parameters
nameValuePairs
object[]
A list of name value pairs
Clear()
Declaration
cs-api-definition
public void Clear()
GetValue<T>(string)
Declaration
cs-api-definition
public T GetValue<T>(string propertyName)
Parameters
propertyName
Returns
T