protected BasePath(PathFactory factory, PlatformPathTypes platformPathType, PathTypes pathType, string path, string[] components) { Factory = factory; PlatformPathType = platformPathType; PathType = pathType; Components = components; Path = path; }
protected WinPath(PathFactory factory, PlatformPathTypes platformPathType, PathTypes pathType, string path, string[] components) : base(factory, platformPathType, pathType, path, components) { var firstComponent = components.FirstOrDefault(); Drive = PathUtility.GetDrive(firstComponent); }
public UnixRootPath(PathFactory factory, PlatformPathTypes platformPathType, PathTypes pathType, string path, string[] components) { throw new NotImplementedException(); }
public UnixDirectoryPath(PathFactory factory, PlatformPathTypes platformPathType, PathTypes pathType, string path, string[] components) { }
public void Setup() { _system = new Mock<IFileSystem>(); _factory = new PathFactory(_system.Object, new PathConfiguration()); }
public WinDirectoryPath(PathFactory factory, PlatformPathTypes platformPathType, PathTypes pathType, string path, string[] components) : base(factory, platformPathType, pathType, path, components) { }