コード例 #1
0
 internal PSResourceStatistics(Microsoft.Azure.Batch.ResourceStatistics omObject)
 {
     if ((omObject == null))
     {
         throw new System.ArgumentNullException("omObject");
     }
     this.omObject = omObject;
 }
コード例 #2
0
 internal PSResourceStatistics(Microsoft.Azure.Batch.ResourceStatistics omObject)
 {
     if ((omObject == null))
     {
         throw new System.ArgumentNullException("omObject");
     }
     this.omObject = omObject;
 }
コード例 #3
0
ファイル: PoolStatistics.cs プロジェクト: QITIE/ADLSTool
 internal PoolStatistics(Models.PoolStatistics protocolObject)
 {
     this.lastUpdateTime     = protocolObject.LastUpdateTime;
     this.resourceStatistics = UtilitiesInternal.CreateObjectWithNullCheck(protocolObject.ResourceStats, o => new ResourceStatistics(o).Freeze());
     this.startTime          = protocolObject.StartTime;
     this.url             = protocolObject.Url;
     this.usageStatistics = UtilitiesInternal.CreateObjectWithNullCheck(protocolObject.UsageStats, o => new UsageStatistics(o).Freeze());
 }