Beispiel #1
0
 /// <summary>
 /// A function which will be called on the last action to be executed in a sequence, after any
 /// PostExecutionOperations have been performed..  For example, in a Grasshopper component dealing
 /// with multiple inputs, this will only be called once all inputs have been dealt with.
 /// Use this to define any tidying up operations that should be performed after the final iteration.
 /// </summary>
 /// <param name="exInfo"></param>
 /// <returns></returns>
 public virtual bool FinalOperations(ExecutionInfo exInfo = null)
 {
     return(true);
 }
Beispiel #2
0
 /// <summary>
 /// Execute this action.  Input parameters will be consumed and output parameters will be populated.
 /// </summary>
 /// <param name="exInfo">A set of data communicating the parametric context of execution.
 /// Used to update existing outputs from the same parametric source instead of generating new ones.
 /// Will be null if the source is not part of a parametric process.</param>
 /// <returns>Should return true if the action is successfully completed, false otherwise</returns>
 public abstract bool Execute(ExecutionInfo exInfo = null);