Description of TLHelper.
예제 #1
0
        protected override void ProcessRecord()
        {
            TLHelper.checkTestPlan(InputObject);

            var command = new TLSrvAddBuildCommand(this);

            command.Execute();
        }
예제 #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);
            }
        }