Driver.ConnectionHistoryReader.ReadStream(System.IO.StreamReader)

Here are the examples of the csharp api class Driver.ConnectionHistoryReader.ReadStream(System.IO.StreamReader) taken from open source projects. By voting up you can indicate which examples are most useful and appropriate.

1 Example 7

1. Example

View license
public IEnumerable<string> Read()
		{
			if (!File.Exists(path)) return new string[0];

			using (var stream = new FileStream(path, FileMode.Open))
				return ReadStream(new StreamReader(stream));
		}