Renamed from DotnetStreams to DotnetStandardStreams.
This commit is contained in:
parent
1e9844143c
commit
1d7cefb207
@ -1,13 +1,13 @@
|
||||
|
||||
Microsoft Visual Studio Solution File, Format Version 12.00
|
||||
# Visual Studio Version 17
|
||||
VisualStudioVersion = 17.13.35919.96 d17.13
|
||||
VisualStudioVersion = 17.13.35919.96
|
||||
MinimumVisualStudioVersion = 10.0.40219.1
|
||||
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "DotnetStreams", "DotnetStreams\DotnetStreams.csproj", "{42612FD1-4024-4091-B62F-3A897A4BBEF2}"
|
||||
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "DotnetStandardStreams", "DotnetStandardStreams\DotnetStandardStreams.csproj", "{42612FD1-4024-4091-B62F-3A897A4BBEF2}"
|
||||
EndProject
|
||||
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "DotnetStreamsTests", "DotnetStreamsTests\DotnetStreamsTests.csproj", "{1CE38FCB-E08F-8213-356A-F21626719E30}"
|
||||
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "DotnetStandardStreamsTests", "DotnetStandardStreamsTests\DotnetStandardStreamsTests.csproj", "{1CE38FCB-E08F-8213-356A-F21626719E30}"
|
||||
EndProject
|
||||
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "DotnetStreamsApp", "DotnetStreamsApp\DotnetStreamsApp.csproj", "{7EF73074-AAA6-13D4-5EF8-6D91B220C690}"
|
||||
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "DotnetStandardStreamsApp", "DotnetStandardStreamsApp\DotnetStandardStreamsApp.csproj", "{7EF73074-AAA6-13D4-5EF8-6D91B220C690}"
|
||||
EndProject
|
||||
Global
|
||||
GlobalSection(SolutionConfigurationPlatforms) = preSolution
|
||||
@ -4,7 +4,7 @@ using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace DotnetStreams
|
||||
namespace DotnetStandardStreams
|
||||
{
|
||||
public class AnonOutputTarget : IOutputTarget
|
||||
{
|
||||
@ -1,6 +1,6 @@
|
||||
using System;
|
||||
|
||||
namespace DotnetStreams
|
||||
namespace DotnetStandardStreams
|
||||
{
|
||||
public class BytesReadEventArgs
|
||||
{
|
||||
@ -17,10 +17,10 @@ namespace DotnetStreams
|
||||
|
||||
public class BinaryStdinReader
|
||||
{
|
||||
protected readonly Action<byte[], int> dataReceiverProc;
|
||||
protected readonly Action<int> doneProc;
|
||||
public event BytesReadEventHandler OnBytesRead;
|
||||
public event EventHandler OnDone;
|
||||
protected readonly Action<byte[], int>? dataReceiverProc;
|
||||
protected readonly Action<int>? doneProc;
|
||||
public event BytesReadEventHandler? OnBytesRead;
|
||||
public event EventHandler? OnDone;
|
||||
public BinaryStdinReader(Action<byte[], int> dataReceiverProc, Action<int> doneProc)
|
||||
{
|
||||
this.dataReceiverProc = dataReceiverProc;
|
||||
@ -4,7 +4,7 @@ using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace DotnetStreams
|
||||
namespace DotnetStandardStreams
|
||||
{
|
||||
public class ConsoleOutputTarget : IOutputTarget
|
||||
{
|
||||
@ -5,7 +5,7 @@ using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
using System.IO;
|
||||
|
||||
namespace DotnetStreams
|
||||
namespace DotnetStandardStreams
|
||||
{
|
||||
public class FileTextSource : ITextSource
|
||||
{
|
||||
@ -4,7 +4,7 @@ using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace DotnetStreams
|
||||
namespace DotnetStandardStreams
|
||||
{
|
||||
public interface IOutputTarget
|
||||
{
|
||||
@ -4,7 +4,7 @@ using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace DotnetStreams
|
||||
namespace DotnetStandardStreams
|
||||
{
|
||||
public interface ITextSource
|
||||
{
|
||||
@ -4,7 +4,7 @@ using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace DotnetStreams
|
||||
namespace DotnetStandardStreams
|
||||
{
|
||||
public class ListOutputTarget : IOutputTarget
|
||||
{
|
||||
@ -4,7 +4,7 @@ using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace DotnetStreams
|
||||
namespace DotnetStandardStreams
|
||||
{
|
||||
public class ListTextSource : ITextSource
|
||||
{
|
||||
@ -4,7 +4,7 @@ using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace DotnetStreams
|
||||
namespace DotnetStandardStreams
|
||||
{
|
||||
public class ProcessedConsoleOutputTarget : ConsoleOutputTarget
|
||||
{
|
||||
@ -4,7 +4,7 @@ using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace DotnetStreams
|
||||
namespace DotnetStandardStreams
|
||||
{
|
||||
public class StdInTextSource : ITextSource
|
||||
{
|
||||
@ -2,13 +2,13 @@
|
||||
|
||||
<PropertyGroup>
|
||||
<OutputType>Exe</OutputType>
|
||||
<TargetFramework>net5.0</TargetFramework>
|
||||
<TargetFramework>net8.0</TargetFramework>
|
||||
<Nullable>enable</Nullable>
|
||||
<WarningsAsErrors>nullable</WarningsAsErrors>
|
||||
</PropertyGroup>
|
||||
|
||||
<ItemGroup>
|
||||
<ProjectReference Include="..\DotnetStreams\DotnetStreams.csproj" />
|
||||
<ProjectReference Include="..\DotnetStandardStreams\DotnetStandardStreams.csproj" />
|
||||
</ItemGroup>
|
||||
|
||||
</Project>
|
||||
@ -5,7 +5,7 @@ using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace DotnetStreams
|
||||
namespace DotnetStandardStreams
|
||||
{
|
||||
//public interface ITextSource
|
||||
//{
|
||||
@ -1,7 +1,7 @@
|
||||
using System;
|
||||
using System.IO;
|
||||
using System.Linq;
|
||||
using DotnetStreams;
|
||||
using DotnetStandardStreams;
|
||||
|
||||
namespace StreamsTest
|
||||
{
|
||||
@ -2,7 +2,7 @@
|
||||
"profiles": {
|
||||
"StreamsTest": {
|
||||
"commandName": "Project",
|
||||
"commandLineArgs": "C:\\Users\\Phil\\source\\repos\\DotnetStreams\\DotnetStreamsApp\\delme.txt",
|
||||
"commandLineArgs": "C:\\Users\\Phil\\source\\repos\\DotnetStandardStreams\\DotnetStandardStreamsApp\\delme.txt",
|
||||
"sqlDebugging": true
|
||||
}
|
||||
}
|
||||
@ -5,11 +5,11 @@ using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
using Xunit;
|
||||
using Shouldly;
|
||||
using DotnetStreams;
|
||||
using DotnetStandardStreams;
|
||||
using System.IO;
|
||||
using DotnetStreamsTests.Testables;
|
||||
using DotnetStandardStreamsTests.Testables;
|
||||
|
||||
namespace DotnetStreamsTests
|
||||
namespace DotnetStandardStreamsTests
|
||||
{
|
||||
public class ConsoleOutputTargetTests
|
||||
{
|
||||
@ -1,7 +1,7 @@
|
||||
<Project Sdk="Microsoft.NET.Sdk">
|
||||
|
||||
<PropertyGroup>
|
||||
<TargetFramework>net5.0</TargetFramework>
|
||||
<TargetFramework>net8.0</TargetFramework>
|
||||
|
||||
<IsPackable>false</IsPackable>
|
||||
</PropertyGroup>
|
||||
@ -21,7 +21,7 @@
|
||||
</ItemGroup>
|
||||
|
||||
<ItemGroup>
|
||||
<ProjectReference Include="..\DotnetStreams\DotnetStreams.csproj" />
|
||||
<ProjectReference Include="..\DotnetStandardStreams\DotnetStandardStreams.csproj" />
|
||||
</ItemGroup>
|
||||
|
||||
</Project>
|
||||
@ -1,10 +1,10 @@
|
||||
using DotnetStreams;
|
||||
using DotnetStandardStreams;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using Xunit;
|
||||
using Shouldly;
|
||||
|
||||
namespace DotnetStreamsTests
|
||||
namespace DotnetStandardStreamsTests
|
||||
{
|
||||
public class ListOutputTargetTests
|
||||
{
|
||||
@ -5,9 +5,9 @@ using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
using Xunit;
|
||||
using Shouldly;
|
||||
using DotnetStreams;
|
||||
using DotnetStandardStreams;
|
||||
|
||||
namespace DotnetStreamsTests
|
||||
namespace DotnetStandardStreamsTests
|
||||
{
|
||||
public class ListTextSourceTests
|
||||
{
|
||||
@ -1,4 +1,4 @@
|
||||
using DotnetStreamsTests.Testables;
|
||||
using DotnetStandardStreamsTests.Testables;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.IO;
|
||||
@ -7,9 +7,9 @@ using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
using Xunit;
|
||||
using Shouldly;
|
||||
using DotnetStreams;
|
||||
using DotnetStandardStreams;
|
||||
|
||||
namespace DotnetStreamsTests
|
||||
namespace DotnetStandardStreamsTests
|
||||
{
|
||||
public class StdInTextSourceTests
|
||||
{
|
||||
@ -5,7 +5,7 @@ using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace DotnetStreamsTests.Testables
|
||||
namespace DotnetStandardStreamsTests.Testables
|
||||
{
|
||||
public class ListTextReader : TextReader
|
||||
{
|
||||
@ -5,7 +5,7 @@ using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace DotnetStreamsTests.Testables
|
||||
namespace DotnetStandardStreamsTests.Testables
|
||||
{
|
||||
public class ListWriter : TextWriter
|
||||
{
|
||||
@ -2,9 +2,9 @@
|
||||
using System.Collections.Generic;
|
||||
using System.IO;
|
||||
using System.Text;
|
||||
using DotnetStreams;
|
||||
using DotnetStandardStreams;
|
||||
|
||||
namespace DotnetStreamsTests.Testables
|
||||
namespace DotnetStandardStreamsTests.Testables
|
||||
{
|
||||
public class TestableConsoleOutputTarget : ConsoleOutputTarget, IDisposable
|
||||
{
|
||||
Loading…
Reference in New Issue
Block a user