public IFileSystemResourceAccessor GetResource(string path) { IResourceAccessor result; if (_provider.TryCreateResourceAccessor(ProviderPathHelper.Combine(_path, path), out result)) { return((IFileSystemResourceAccessor)result); } return(null); }
public IFileSystemResourceAccessor GetResource(string path) { IFileSystemResourceAccessor ra = (IFileSystemResourceAccessor)_mountingDataProxy.ResourceAccessor.Clone(); try { return(GetLocalFsResourceAccessor(ra, ProviderPathHelper.Combine(_path, path))); } catch { ra.Dispose(); throw; } }
protected string ExpandPath(string relativeOrAbsoluteProviderPath) { return(ProviderPathHelper.Combine(_pathToDirOrFile, relativeOrAbsoluteProviderPath)); }