CSharpUtils.VirtualFileSystem.Local.LocalFileSystem.ImplGetFileInfo C# (CSharp) Method

ImplGetFileInfo() private method

private ImplGetFileInfo ( String Path ) : FileSystemEntry
Path String
return FileSystemEntry
		override protected FileSystemEntry ImplGetFileInfo(String Path)
		{
			String CachedRealPath = RealPath(Path);
			FileSystemInfo FileSystemInfo;
			if (Directory.Exists(CachedRealPath)) {
				FileSystemInfo = new DirectoryInfo(CachedRealPath);
			} else {
				FileSystemInfo = new FileInfo(CachedRealPath);
			}
			
			return new LocalFileSystemEntry(this, Path, FileSystemInfo);
		}