Bombsquad.DynamicMedia.Implementations.Storage.FileSystemStorageBackend.TryFindPhysicalFile C# (CSharp) Метод

TryFindPhysicalFile() приватный Метод

private TryFindPhysicalFile ( string path, FileInfo &sourceImagePath ) : bool
path string
sourceImagePath System.IO.FileInfo
Результат bool
        private bool TryFindPhysicalFile(string path, out FileInfo sourceImagePath)
        {
            path = path.Replace('/', '\\');
            path = path.TrimStart('\\');

            sourceImagePath = new FileInfo(Path.Combine(m_storageRoot.FullName, path));
            return sourceImagePath.Exists;
        }