public VHDLoc(VHDDriveInfo Drive, string Location) { _driveInfo = Drive; Drive. _FSI = Location; }
/* protected CloudBlockBlob FileBlob { get { throw new NotImplementedException(); return _cloudItem.Value as CloudBlockBlob; } } protected CloudBlobDirectory DirectoryBlob { get { throw new NotImplementedException(); return _cloudItem.Value as CloudBlobDirectory; } } protected CloudBlobContainer CloudContainer { get { throw new NotImplementedException(); if (!_invalidLocation && _cloudContainer == null) { /* if (_driveInfo.CloudFileSystem == null || Path.Container.IndexOfAny(Wildcards) > -1 || !_driveInfo.CloudFileSystem.ContainerExists(Path.Container)) { return null; } _cloudContainer = _driveInfo.CloudFileSystem[Path.Container]; * //* if (_driveInfo.CloudFileSystem != null && Path.Container.IndexOfAny(Wildcards) == -1) { _cloudContainer = _driveInfo.GetContainer(Path.Container); } } return _cloudContainer; } } public bool IsContainer { get { throw new NotImplementedException(); if (_invalidLocation || string.IsNullOrEmpty(Path.Container) || !string.IsNullOrEmpty(Path.SubPath)) { return false; } return CloudContainer != null; } } public bool IsDirectory { get { throw new NotImplementedException(); return !_invalidLocation && !string.IsNullOrEmpty(Path.SubPath) && _cloudItem != null && _cloudItem.Value is CloudBlobDirectory; } } public string MD5 { get { throw new NotImplementedException(); if (FileBlob == null) { return string.Empty; } var result = FileBlob.Properties.ContentMD5; if (string.IsNullOrEmpty(result)) { if (FileBlob.Metadata.ContainsKey("MD5")) { return FileBlob.Metadata["MD5"]; } return string.Empty; } return result; } } public string MimeType { get { throw new NotImplementedException(); return FileBlob != null ? FileBlob.Properties.ContentType : string.Empty; } } */ public VHDLocation(VHDDriveInfo driveInfo, Path path) { _driveInfo = driveInfo; Path = path; Path.Validate(); }
public VHDLoc(VHDDriveInfo Drive, DiscFileSystemInfo Location) { _driveInfo = Drive; _FSI = Location; }