A combination of a name and a value assignment for it.
public struct NamedValue : IEquatable<NamedValue>
Fields
Declaration
public const string Separator = ","
Field Value
Properties
Declaration
public string name { get; set; }
Property Value
Declaration
public readonly TypeCode type { get; }
Property Value
Declaration
public PrimitiveValue value { get; set; }
Property Value
Methods
Declaration
public static void ApplyAllToObject<TParameterList>(object instance, TParameterList parameters)
where TParameterList : IEnumerable<NamedValue>
Parameters
Type |
Name |
Description |
Object |
instance |
|
TParameterList |
parameters |
|
Type Parameters
Name |
Description |
TParameterList |
|
Declaration
public void ApplyToObject(object instance)
Parameters
Type |
Name |
Description |
Object |
instance |
|
Declaration
public NamedValue ConvertTo(TypeCode type)
Parameters
Returns
Declaration
public override bool Equals(object obj)
Parameters
Type |
Name |
Description |
Object |
obj |
|
Returns
Overrides
Declaration
public bool Equals(NamedValue other)
Parameters
Returns
Implements
Declaration
public static NamedValue From<TValue>(string name, TValue value)
where TValue : struct
Parameters
Type |
Name |
Description |
String |
name |
|
TValue |
value |
|
Returns
Type Parameters
Declaration
public override int GetHashCode()
Returns
Overrides
Declaration
public static NamedValue Parse(string str)
Parameters
Type |
Name |
Description |
String |
str |
|
Returns
Declaration
public static NamedValue[] ParseMultiple(string parameterString)
Parameters
Type |
Name |
Description |
String |
parameterString |
|
Returns
Declaration
public override string ToString()
Returns
Overrides
Operators
Declaration
public static bool operator ==(NamedValue left, NamedValue right)
Parameters
Returns
Declaration
public static bool operator !=(NamedValue left, NamedValue right)
Parameters
Returns