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;
        }