コード例 #1
0
ファイル: BaseDataObject.cs プロジェクト: nGenieDeveloper/BD2
 public BaseDataObject(FrontendInstanceBase frontendInstanceBase, byte[] objectID)
 {
     if (objectID == null)
     {
         throw new ArgumentNullException("objectID");
     }
     if (frontendInstanceBase == null)
     {
         throw new ArgumentNullException("frontendInstanceBase");
     }
     this.frontendInstanceBase = frontendInstanceBase;
     this.objectID             = objectID;
 }
コード例 #2
0
ファイル: BaseMetaObject.cs プロジェクト: nGenieDeveloper/BD2
 protected BaseMetaObject(FrontendInstanceBase frontendInstanceBase, byte[] objectID, byte[] chunkID)
 {
     if (frontendInstanceBase == null)
     {
         throw new ArgumentNullException("frontendInstanceBase");
     }
     if (objectID == null)
     {
         throw new ArgumentNullException("objectID");
     }
     if (chunkID == null)
     {
         throw new ArgumentNullException("chunkID");
     }
     this.frontendInstanceBase = frontendInstanceBase;
     this.objectID             = objectID;
     this.chunkID = chunkID;
 }