public Function(Wrappers.Function function, Actions actions) : base(false, 6) { d_actions = actions; d_function = function; Build(); }
public FunctionArgument(Wrappers.Function wrapped, string name, string defaultValue, bool isimplicit) { d_wrapped = wrapped; d_name = name; d_defaultValue = defaultValue; d_implicit = isimplicit; }
private void DoArgumentAdded(Wrappers.Function obj, Cdn.FunctionArgument arg) { Node node = new Node(arg); d_treeview.NodeStore.Remove(d_dummy); d_treeview.NodeStore.Add(node); d_treeview.NodeStore.Add(d_dummy); if (d_selectArgument) { d_treeview.Selection.UnselectAll(); d_treeview.Selection.SelectPath(node.Path); d_treeview.SetCursor(node.Path, d_treeview.GetColumn(0), true); } }
public ModifyFunctionArgumentDefaultValue(Wrappers.Function function, Cdn.FunctionArgument argument, string val) : base(function, argument) { d_prevVal = argument.Optional ? argument.DefaultValue.AsString : null; d_newVal = val; }
public FunctionArgument(Wrappers.Function wrapped, Cdn.FunctionArgument argument) : this(wrapped, argument.Name, argument.Optional ? argument.DefaultValue.AsString : null, !argument.Explicit) { d_argument = argument; }
public ModifyFunctionArguments(Wrappers.Function function, Cdn.FunctionArgument[] arguments) : base(function) { d_prevArguments = function.Arguments; d_arguments = arguments; }
public ModifyFunctionArgumentExplicit(Wrappers.Function function, Cdn.FunctionArgument argument, bool val) : base(function, argument) { d_prevVal = argument.Explicit; d_newVal = val; }
public Function(Wrappers.Function function) : base(function != null ? function.Parent : null, function) { d_function = function; }
public RemoveFunctionArgument(Wrappers.Function function, string name, string defaultValue, bool isimplicit) : base(function, name, defaultValue, isimplicit) { }
public RemoveFunctionArgument(Wrappers.Function function, Cdn.FunctionArgument argument) : base(function, argument) { }
private void DoArgumentRemoved(Wrappers.Function obj, Cdn.FunctionArgument arg) { d_treeview.NodeStore.Remove(arg); }
private void DoArgumentsReordered(Wrappers.Function function) { Repopulate(); }
public ModifyFunctionArgumentName(Wrappers.Function function, Cdn.FunctionArgument argument, string val) : base(function, argument) { d_prevVal = argument.Name; d_newVal = val; }