18 lines
296 B
C#
18 lines
296 B
C#
using System;
|
|
using System.Collections.Generic;
|
|
using System.Linq;
|
|
using System.Text;
|
|
using System.Threading.Tasks;
|
|
|
|
namespace DotnetStreams
|
|
{
|
|
public interface ITextSource
|
|
{
|
|
void Open();
|
|
IEnumerable<string> ReadAll();
|
|
string Read();
|
|
bool Eof();
|
|
void Close();
|
|
}
|
|
}
|