using System.IO;
using System.Linq;
using Chernobyl.Collections.Generic.Event;
namespace Chernobyl.IO
{
///
/// This class is used to search a set of search paths or directory paths
/// for a specific file. When found, the FileSearchStream can be read from
/// just like a FileStream.
///
public class FileSearchStream : FileStream
{
///
/// Constructor.
///
/// The services object that contains a
/// SearchPath instance. This SearchPath will be used to find the
/// specified file.
/// The file path to the file that is contained
/// within at least one of the search paths specified by the
/// in the
/// instance.
/// How the operating system should open the file.
public FileSearchStream(IEventCollection