Пример #1
0
 /// <summary>
 /// Sets the local variable, declared by a precedent .Declare method, to the specified value.
 /// </summary>
 /// <param name="prev">A predecessor object.</param>
 /// <param name="value">Is a value to be assigned to the variable or parameter.</param>
 public static SetChainer Set(this IDeclareSet prev, VariableArgument value)
 {
     return(new SetChainer((Chainer)prev, null, value, true));
 }
Пример #2
0
 /// <summary>
 /// Sets the specified local variable or parameter, previously created by using the DECLARE statement or .Param method in the procedure body, to the specified value.
 /// </summary>
 /// <param name="prev">A predecessor object.</param>
 /// <param name="variable">Is a name of a previously declared variable or parameter.</param>
 /// <param name="value">Is a value to be assigned to the variable or parameter.</param>
 public static SetChainer Set(this IAny prev, string variable, VariableArgument value)
 {
     return(new SetChainer((Chainer)prev, variable, value));
 }