public static IVolumeActions CreateWindowsDokanStorageBackend <T>( this StorageBackendFactory pFactory, string pSource ) where T : IStorageType, new() { return(new DokanFileSystem <T>(pSource)); }
public void TestCreateWindowsStorageBackend() { //Act var fs = new StorageBackendFactory().CreateWindowsWinfspStorageBackend <TestStorageType>("Source"); //Assert Assert.AreEqual(typeof(WindowsFileSystemBase <TestStorageType>), fs.GetType()); }