/// <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); } }
/// <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); } }
public void Initialize(VirtualDataWindowFactoryContext factoryContext) { Initializations.Add(factoryContext); }