예제 #1
0
 /// <summary>
 /// Create a <see cref="For"/> with the specified <see cref="CodeObject"/> in the body.
 /// </summary>
 public For(Expression initialization, Expression conditional, Expression iteration)
 {
     if (initialization != null)
     {
         Initializations.Add(initialization);
     }
     Conditional = conditional;
     if (iteration != null)
     {
         Iterations.Add(iteration);
     }
 }
예제 #2
0
 /// <summary>
 /// Create a <see cref="For"/> with the specified <see cref="CodeObject"/> in the body.
 /// </summary>
 public For(Expression initialization, Expression conditional, Expression iteration, CodeObject body)
     : base(body, true)
 {
     if (initialization != null)
     {
         Initializations.Add(initialization);
     }
     Conditional = conditional;
     if (iteration != null)
     {
         Iterations.Add(iteration);
     }
 }
예제 #3
0
 public void Initialize(VirtualDataWindowFactoryContext factoryContext)
 {
     Initializations.Add(factoryContext);
 }