﻿using System.IO;

namespace EnterpriseFramework.IO
{
	public static class FileSystemExtensions
	{
		public static Stream OpenRead(this IFileSystem fs, string urn)
		{
			using (var stream = new MemoryStream(fs.Load(urn), false))
			{
				return stream;
			}
		}
	}
}
