internal PSComputeNodeInformation(Microsoft.Azure.Batch.ComputeNodeInformation omObject)
 {
     if ((omObject == null))
     {
         throw new System.ArgumentNullException("omObject");
     }
     this.omObject = omObject;
 }
 internal PSComputeNodeInformation(Microsoft.Azure.Batch.ComputeNodeInformation omObject)
 {
     if ((omObject == null))
     {
         throw new System.ArgumentNullException("omObject");
     }
     this.omObject = omObject;
 }
Пример #3
0
 internal SubtaskInformation(Models.SubtaskInformation protocolObject)
 {
     this.computeNodeInformation = UtilitiesInternal.CreateObjectWithNullCheck(protocolObject.NodeInfo, o => new ComputeNodeInformation(o).Freeze());
     this.endTime       = protocolObject.EndTime;
     this.exitCode      = protocolObject.ExitCode;
     this.id            = protocolObject.Id;
     this.previousState = UtilitiesInternal.MapNullableEnum <Models.TaskState, Common.TaskState>(protocolObject.PreviousState);
     this.previousStateTransitionTime = protocolObject.PreviousStateTransitionTime;
     this.schedulingError             = UtilitiesInternal.CreateObjectWithNullCheck(protocolObject.SchedulingError, o => new TaskSchedulingError(o).Freeze());
     this.startTime           = protocolObject.StartTime;
     this.state               = UtilitiesInternal.MapNullableEnum <Models.TaskState, Common.TaskState>(protocolObject.State);
     this.stateTransitionTime = protocolObject.StateTransitionTime;
 }