public ViewerFunctionScriptFunction(IViewerFunction operation)
 {
     if (operation == null)
     {
         throw new ArgumentNullException("'operation' cannot be null", "operation");
     }
     this.Operation = operation;
 }
 public static void Invoke(Control parentControl, SequenceViewerController controller, IViewerFunction operation, params ScriptVariable[] args)
 {
     Invoke(parentControl, controller, operation, (IList <ScriptVariable>)args);
 }
 public static void Invoke(Control parentControl, SequenceViewerController controller, IViewerFunction operation, IList <ScriptVariable> args)
 {
     ScriptConsole.Singleton.Invoke(new ViewerFunctionScriptFunction(operation), args);
 }