protected DSFunctionBase(ZeroTouchNodeController <FunctionDescriptor> controller) : base(controller) { ArgumentLacing = LacingStrategy.Shortest; Description = Controller.Description; Category = Controller.Category; if (controller.Definition.IsObsolete) { Warning(controller.Definition.ObsoleteMessage); } }
protected DSFunctionBase(ZeroTouchNodeController <FunctionDescriptor> controller) : base(controller) { ArgumentLacing = LacingStrategy.Shortest; Category = Controller.Category; if (controller.Definition.IsObsolete) { Warning(controller.Definition.ObsoleteMessage, true); } if (controller.Definition.CanUpdatePeriodically) { CanUpdatePeriodically = true; } string signature = String.Empty; if (Controller.Definition is FunctionDescriptor) { signature = Controller.Definition.Signature; } Description = String.IsNullOrEmpty(Controller.Description) ? signature : Controller.Description + "\n\n" + signature; }
public ZeroTouchVarInputController(DSFunctionBase model) : base(model) { nodeController = model.Controller; }
protected DSFunctionBase(ZeroTouchNodeController controller) : base(controller) { ArgumentLacing = LacingStrategy.Shortest; }
protected DSFunctionBase(WorkspaceModel workspaceModel, ZeroTouchNodeController controller) : base(workspaceModel, controller) { ArgumentLacing = LacingStrategy.Shortest; }