internal PSTaskIdRange(Microsoft.Azure.Batch.TaskIdRange omObject) { if ((omObject == null)) { throw new System.ArgumentNullException("omObject"); } this.omObject = omObject; }
public PSTaskIdRange(int start, int end) { this.omObject = new Microsoft.Azure.Batch.TaskIdRange(start, end); }
internal TaskDependencies(Models.TaskDependencies protocolObject) { this.TaskIdRanges = TaskIdRange.ConvertFromProtocolCollectionReadOnly(protocolObject.TaskIdRanges); this.TaskIds = UtilitiesInternal.CreateObjectWithNullCheck(protocolObject.TaskIds, o => o.ToList().AsReadOnly()); }