Class VariableExtensions
Inheritance
System.Object
VariableExtensions
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Assembly: Syn.Bot.dll
Syntax
public static class VariableExtensions
Methods
Add<T1, T2>(IVariable, Tuple<T1, T2>)
Declaration
public static void Add<T1, T2>(this IVariable source, Tuple<T1, T2> tupleValue)
Parameters
Type |
Name |
Description |
IVariable |
source |
|
System.Tuple<T1, T2> |
tupleValue |
|
Type Parameters
Add<T1, T2, T3>(IVariable, Tuple<T1, T2, T3>)
Declaration
public static void Add<T1, T2, T3>(this IVariable source, Tuple<T1, T2, T3> tupleValue)
Parameters
Type |
Name |
Description |
IVariable |
source |
|
System.Tuple<T1, T2, T3> |
tupleValue |
|
Type Parameters
Name |
Description |
T1 |
|
T2 |
|
T3 |
|
Add<T1, T2, T3, T4>(IVariable, Tuple<T1, T2, T3, T4>)
Declaration
public static void Add<T1, T2, T3, T4>(this IVariable source, Tuple<T1, T2, T3, T4> tupleValue)
Parameters
Type |
Name |
Description |
IVariable |
source |
|
System.Tuple<T1, T2, T3, T4> |
tupleValue |
|
Type Parameters
Name |
Description |
T1 |
|
T2 |
|
T3 |
|
T4 |
|
Add<T1, T2, T3, T4, T5>(IVariable, Tuple<T1, T2, T3, T4, T5>)
Declaration
public static void Add<T1, T2, T3, T4, T5>(this IVariable source, Tuple<T1, T2, T3, T4, T5> tupleValue)
Parameters
Type |
Name |
Description |
IVariable |
source |
|
System.Tuple<T1, T2, T3, T4, T5> |
tupleValue |
|
Type Parameters
Name |
Description |
T1 |
|
T2 |
|
T3 |
|
T4 |
|
T5 |
|
GetTuple<T1, T2>(IVariable, String)
Declaration
public static Tuple<T1, T2> GetTuple<T1, T2>(this IVariable source, string value)
Parameters
Type |
Name |
Description |
IVariable |
source |
|
System.String |
value |
|
Returns
Type |
Description |
System.Tuple<T1, T2> |
|
Type Parameters
GetTuple<T1, T2>(IVariable)
Declaration
public static Tuple<T1, T2> GetTuple<T1, T2>(this IVariable source)
Parameters
Returns
Type |
Description |
System.Tuple<T1, T2> |
|
Type Parameters
GetTuple<T1, T2, T3>(IVariable, String)
Declaration
public static Tuple<T1, T2, T3> GetTuple<T1, T2, T3>(this IVariable source, string value)
Parameters
Type |
Name |
Description |
IVariable |
source |
|
System.String |
value |
|
Returns
Type |
Description |
System.Tuple<T1, T2, T3> |
|
Type Parameters
Name |
Description |
T1 |
|
T2 |
|
T3 |
|
GetTuple<T1, T2, T3>(IVariable)
Declaration
public static Tuple<T1, T2, T3> GetTuple<T1, T2, T3>(this IVariable source)
Parameters
Returns
Type |
Description |
System.Tuple<T1, T2, T3> |
|
Type Parameters
Name |
Description |
T1 |
|
T2 |
|
T3 |
|
GetTuple<T1, T2, T3, T4>(IVariable, String)
Declaration
public static Tuple<T1, T2, T3, T4> GetTuple<T1, T2, T3, T4>(this IVariable source, string value)
Parameters
Type |
Name |
Description |
IVariable |
source |
|
System.String |
value |
|
Returns
Type |
Description |
System.Tuple<T1, T2, T3, T4> |
|
Type Parameters
Name |
Description |
T1 |
|
T2 |
|
T3 |
|
T4 |
|
GetTuple<T1, T2, T3, T4>(IVariable)
Declaration
public static Tuple<T1, T2, T3, T4> GetTuple<T1, T2, T3, T4>(this IVariable source)
Parameters
Returns
Type |
Description |
System.Tuple<T1, T2, T3, T4> |
|
Type Parameters
Name |
Description |
T1 |
|
T2 |
|
T3 |
|
T4 |
|
GetTuple<T1, T2, T3, T4, T5>(IVariable, String)
Declaration
public static Tuple<T1, T2, T3, T4, T5> GetTuple<T1, T2, T3, T4, T5>(this IVariable source, string value)
Parameters
Type |
Name |
Description |
IVariable |
source |
|
System.String |
value |
|
Returns
Type |
Description |
System.Tuple<T1, T2, T3, T4, T5> |
|
Type Parameters
Name |
Description |
T1 |
|
T2 |
|
T3 |
|
T4 |
|
T5 |
|
GetTuple<T1, T2, T3, T4, T5>(IVariable)
Declaration
public static Tuple<T1, T2, T3, T4, T5> GetTuple<T1, T2, T3, T4, T5>(this IVariable source)
Parameters
Returns
Type |
Description |
System.Tuple<T1, T2, T3, T4, T5> |
|
Type Parameters
Name |
Description |
T1 |
|
T2 |
|
T3 |
|
T4 |
|
T5 |
|
GetTuples<T1, T2>(IVariable)
Declaration
public static IEnumerable<Tuple<T1, T2>> GetTuples<T1, T2>(this IVariable variable)
Parameters
Returns
Type |
Description |
System.Collections.Generic.IEnumerable<System.Tuple<T1, T2>> |
|
Type Parameters
GetTuples<T1, T2, T3>(IVariable)
Declaration
public static IEnumerable<Tuple<T1, T2, T3>> GetTuples<T1, T2, T3>(this IVariable variable)
Parameters
Returns
Type |
Description |
System.Collections.Generic.IEnumerable<System.Tuple<T1, T2, T3>> |
|
Type Parameters
Name |
Description |
T1 |
|
T2 |
|
T3 |
|
GetTuples<T1, T2, T3, T4>(IVariable)
Declaration
public static IEnumerable<Tuple<T1, T2, T3, T4>> GetTuples<T1, T2, T3, T4>(this IVariable variable)
Parameters
Returns
Type |
Description |
System.Collections.Generic.IEnumerable<System.Tuple<T1, T2, T3, T4>> |
|
Type Parameters
Name |
Description |
T1 |
|
T2 |
|
T3 |
|
T4 |
|
GetTuples<T1, T2, T3, T4, T5>(IVariable)
Declaration
public static IEnumerable<Tuple<T1, T2, T3, T4, T5>> GetTuples<T1, T2, T3, T4, T5>(this IVariable variable)
Parameters
Returns
Type |
Description |
System.Collections.Generic.IEnumerable<System.Tuple<T1, T2, T3, T4, T5>> |
|
Type Parameters
Name |
Description |
T1 |
|
T2 |
|
T3 |
|
T4 |
|
T5 |
|
GetValue<T>(IVariable, T)
Declaration
public static T GetValue<T>(this IVariable variable, T defaultValue)
Parameters
Type |
Name |
Description |
IVariable |
variable |
|
T |
defaultValue |
|
Returns
Type Parameters
GetValue<T>(IVariable)
Declaration
public static T GetValue<T>(this IVariable variable)
Parameters
Returns
Type Parameters
GetValues<T>(IVariable)
Declaration
public static IEnumerable<T> GetValues<T>(this IVariable variable)
Parameters
Returns
Type |
Description |
System.Collections.Generic.IEnumerable<T> |
|
Type Parameters
Remove<T1, T2>(IVariable, Tuple<T1, T2>)
Declaration
public static void Remove<T1, T2>(this IVariable source, Tuple<T1, T2> tupleValue)
Parameters
Type |
Name |
Description |
IVariable |
source |
|
System.Tuple<T1, T2> |
tupleValue |
|
Type Parameters
Remove<T1, T2, T3>(IVariable, Tuple<T1, T2, T3>)
Declaration
public static void Remove<T1, T2, T3>(this IVariable source, Tuple<T1, T2, T3> tupleValue)
Parameters
Type |
Name |
Description |
IVariable |
source |
|
System.Tuple<T1, T2, T3> |
tupleValue |
|
Type Parameters
Name |
Description |
T1 |
|
T2 |
|
T3 |
|
Remove<T1, T2, T3, T4>(IVariable, Tuple<T1, T2, T3, T4>)
Declaration
public static void Remove<T1, T2, T3, T4>(this IVariable source, Tuple<T1, T2, T3, T4> tupleValue)
Parameters
Type |
Name |
Description |
IVariable |
source |
|
System.Tuple<T1, T2, T3, T4> |
tupleValue |
|
Type Parameters
Name |
Description |
T1 |
|
T2 |
|
T3 |
|
T4 |
|
Remove<T1, T2, T3, T4, T5>(IVariable, Tuple<T1, T2, T3, T4, T5>)
Declaration
public static void Remove<T1, T2, T3, T4, T5>(this IVariable source, Tuple<T1, T2, T3, T4, T5> tupleValue)
Parameters
Type |
Name |
Description |
IVariable |
source |
|
System.Tuple<T1, T2, T3, T4, T5> |
tupleValue |
|
Type Parameters
Name |
Description |
T1 |
|
T2 |
|
T3 |
|
T4 |
|
T5 |
|
SetValue<T>(IVariable, T)
Declaration
public static void SetValue<T>(this IVariable variable, T value)
Parameters
Type |
Name |
Description |
IVariable |
variable |
|
T |
value |
|
Type Parameters
ValueAs<T>(IVariable, T)
Declaration
public static T ValueAs<T>(this IVariable source, T defaultValue)
Parameters
Type |
Name |
Description |
IVariable |
source |
|
T |
defaultValue |
|
Returns
Type Parameters
ValueAs<T>(IVariable)
Declaration
public static T ValueAs<T>(this IVariable source)
Parameters
Returns
Type Parameters