public FileInterface(ItemInterface item) : base(item.GoogleDriveFile, item.GDrive) { if (item.IsFolder()) { throw new ArgumentException("item represents a folder!", "item"); } }
public DirectoryInterface(ItemInterface item) : base(item.GoogleDriveFile, item.GDrive) { if (!item.IsFolder()) { throw new ArgumentException("item doesn't represent a folder!", "item"); } }