Class ConfigurationParameterAttribute
Inheritance
ConfigurationParameterAttribute
Assembly: Xareus.Scenarios.dll
Syntax
[AttributeUsage(AttributeTargets.Property|AttributeTargets.Field, AllowMultiple = false)]
public class ConfigurationParameterAttribute : Attribute
Constructors
ConfigurationParameterAttribute(string, object, string, Necessity)
Declaration
public ConfigurationParameterAttribute(string label, object initialValue, string description, Necessity necessity = Necessity.Optional)
Parameters
ConfigurationParameterAttribute(string, object, Necessity)
Declaration
public ConfigurationParameterAttribute(string label, object initialValue, Necessity necessity = Necessity.Optional)
Parameters
ConfigurationParameterAttribute(string, string, Necessity)
Declaration
public ConfigurationParameterAttribute(string label, string description, Necessity necessity = Necessity.Optional)
Parameters
ConfigurationParameterAttribute(string, Necessity)
Declaration
public ConfigurationParameterAttribute(string label, Necessity necessity = Necessity.Optional)
Parameters
Properties
Description
Text description of what the parameter is used for
Declaration
public string Description { get; set; }
Property Value
InitialValue
The initial value of the parameter
Declaration
public object InitialValue { get; set; }
Property Value
Label
The label of the parameter that will be used to identify it
Declaration
public string Label { get; set; }
Property Value
Necessity
Sets if the parameter is optional
Declaration
public Necessity Necessity { get; set; }
Property Value