NTuple
References[IoId("00000000-383b-45f5-af4a-69f0c397db09")]
public sealed class NTuple : IStorable, IEquatable<NTuple>, IComparable<NTuple>
A combination of one or more named values.
Constructors
Properties
Methods
Get<T>
#Get the value if defined.
Parameters:
| name (string) | Name of value to retrieve. |
| comparison (StringComparison) | Comparison to use. |
| value (out T) | Value if defined. |
Returns: True if value was defined.
Grow
#Add a value to this tuple.
Grow
#Add a value to this tuple.
Grow
#Add a value to this tuple.
Grow
#Add a value to this tuple.
Grow
#Add a value to this tuple.
Grow
#Add a value to this tuple.
Grow
#Add a value to this tuple.
Grow
#Add a value to this tuple.
Grow
#Add a value to this tuple.
IndexOf
#Find the index of the element with the given name.
Parameters:
| name (string) | |
| comparison (StringComparison = StringComparison.Ordinal) |
IsValidName
#Validate the name for a tuple element. Names may not contain wildcard characters.
Pare
#Remove the elements from this tuple with the given name.
Parameters:
| name (string) | |
| comparison (StringComparison) |
PareWildcard
#Remove all elements from this tuple which match the given name pattern.
Parameters:
| name (string) |
TryGet<T>
#Try and retrieve the value if defined.
Parameters:
| name (string) | Name of value to retrieve. |
| comparison (StringComparison) | Comparison to use. |
| value (ref T) | Value if defined. |
Returns: True if value was defined.