Description of TLHelper.
Ejemplo n.º 1
0
        protected override void ProcessRecord()
        {
            TLHelper.checkTestPlan(InputObject);

            var command = new TLSrvAddBuildCommand(this);

            command.Execute();
        }
Ejemplo n.º 2
0
        internal override void Execute()
        {
            var cmdlet = (TLBuildCmdletBase)Cmdlet;

            if (null != cmdlet.Id && 0 < cmdlet.Id.Length)
            {
                cmdlet.WriteError(
                    cmdlet,
                    "Not implemented",
                    "NotImplemented",
                    ErrorCategory.InvalidResult,
                    true);
            }
            else
            {
                TLHelper.GetBuild(
                    Cmdlet,
                    ((GetTLBuildCommand)Cmdlet).InputObject,
                    ((GetTLBuildCommand)Cmdlet).Name);
            }
        }