コード例 #1
0
ファイル: FileInterface.cs プロジェクト: isaqueks/multisync
 public FileInterface(ItemInterface item) : base(item.GoogleDriveFile, item.GDrive)
 {
     if (item.IsFolder())
     {
         throw new ArgumentException("item represents a folder!", "item");
     }
 }
コード例 #2
0
ファイル: FileInterface.cs プロジェクト: isaqueks/multisync
 public DirectoryInterface(ItemInterface item) : base(item.GoogleDriveFile, item.GDrive)
 {
     if (!item.IsFolder())
     {
         throw new ArgumentException("item doesn't represent a folder!", "item");
     }
 }