Share via


ParameterView Struct

Definition

Represents a collection of parameters supplied to an IComponent by its parent in the render tree.

public value class ParameterView
public readonly struct ParameterView
type ParameterView = struct
Public Structure ParameterView
Inheritance
ParameterView

Properties

Empty

Gets an empty ParameterView.

Methods

FromDictionary(IDictionary<String,Object>)

Creates a new ParameterView from the given IDictionary<TKey,TValue>.

GetEnumerator()

Returns an enumerator that iterates through the ParameterView.

GetValueOrDefault<TValue>(String, TValue)

Gets the value of the parameter with the specified name, or a specified default value if no such parameter exists in the collection.

GetValueOrDefault<TValue>(String)

Gets the value of the parameter with the specified name, or a default value if no such parameter exists in the collection.

SetParameterProperties(Object)

For each parameter property on target, updates its value to match the corresponding entry in the ParameterView.

ToDictionary()

Returns a dictionary populated with the contents of the ParameterView.

TryGetValue<TValue>(String, TValue)

Gets the value of the parameter with the specified name.

Applies to