protected override void ProcessRecord() { TLHelper.checkTestPlan(InputObject); var command = new TLSrvAddBuildCommand(this); command.Execute(); }
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); } }