Exemple #1
0
 public FileSystemQuery(IDirectory directory, IDirectoryEntryFactory directoryEntryFactory, IShareCollectionFactory shareCollectionFactory)
 {
     VerifyArgument.IsNotNull("Directory", directory);
     VerifyArgument.IsNotNull("ShareCollectionFactory", shareCollectionFactory);
     _directory              = directory;
     _directoryEntryFactory  = directoryEntryFactory;
     _shareCollectionFactory = shareCollectionFactory;
 }
 public FileSystemQuery(IDirectory directory,IDirectoryEntryFactory directoryEntryFactory,IShareCollectionFactory shareCollectionFactory)
 {
     VerifyArgument.IsNotNull("Directory",directory);
     VerifyArgument.IsNotNull("DirectoryEntryFactory", directoryEntryFactory);
     VerifyArgument.IsNotNull("ShareCollectionFactory", shareCollectionFactory);
     _directory = directory;
     _directoryEntryFactory = directoryEntryFactory;
     _shareCollectionFactory = shareCollectionFactory;
 }
 public FileSystemQuery()
 {
     _directory = new DirectoryWrapper();
     _shareCollectionFactory = new ShareCollectionFactory();
     _directoryEntryFactory = new DirectoryEntryFactory();
 }
 public FileSystemQuery()
 {
     _directory = new DirectoryWrapper();
     _shareCollectionFactory = new ShareCollectionFactory();
     _directoryEntryFactory  = new DirectoryEntryFactory();
 }