Example #1
0
        protected DSFunctionBase(ZeroTouchNodeController <FunctionDescriptor> controller)
            : base(controller)
        {
            ArgumentLacing = LacingStrategy.Shortest;
            Description    = Controller.Description;
            Category       = Controller.Category;

            if (controller.Definition.IsObsolete)
            {
                Warning(controller.Definition.ObsoleteMessage);
            }
        }
Example #2
0
        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;
        }
Example #3
0
 public ZeroTouchVarInputController(DSFunctionBase model)
     : base(model)
 {
     nodeController = model.Controller;
 }
Example #4
0
 protected DSFunctionBase(ZeroTouchNodeController controller)
     : base(controller)
 {
     ArgumentLacing = LacingStrategy.Shortest;
 }
Example #5
0
 public ZeroTouchVarInputController(DSFunctionBase model)
     : base(model)
 {
     nodeController = model.Controller;
 }
Example #6
0
 protected DSFunctionBase(WorkspaceModel workspaceModel, ZeroTouchNodeController controller)
     : base(workspaceModel, controller)
 {
     ArgumentLacing = LacingStrategy.Shortest;
 }
Example #7
0
 protected DSFunctionBase(WorkspaceModel workspaceModel, ZeroTouchNodeController controller)
     : base(workspaceModel, controller)
 {
     ArgumentLacing = LacingStrategy.Shortest;
 }