Tmx.TLSrvGetBuildCommand.Execute C# (CSharp) Method

Execute() private method

private Execute ( ) : void
return void
        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);
                
            }
        }
    }

Usage Example

Beispiel #1
0
 protected override void ProcessRecord()
 {
     TLHelper.checkTestPlan(InputObject);
     
     var command = new TLSrvGetBuildCommand(this);
     command.Execute();
 }
All Usage Examples Of Tmx.TLSrvGetBuildCommand::Execute