You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

54 lines
883 B

2 years ago
using ConsoleApp.TelnetSamples;
using Samples.Calculate;
2 years ago
using Samples.DI;
using Samples.Event;
using Samples.MessagePrinter;
using Samples.StringLength;
2 years ago
using Samples.Telnet;
2 years ago
namespace ConsoleApp;
class Program
{
static void Main(string[] args)
{
#region Delegate
2 years ago
2 years ago
// CalculateSample.Sample();
// MessagePrinterSample.Sample();
2 years ago
2 years ago
#endregion
#region Callback
2 years ago
2 years ago
// StringLengthSample.Sample();
2 years ago
#endregion
#region Event
2 years ago
2 years ago
// EventSample.Sample();
2 years ago
#endregion
2 years ago
#region Dependency Injection
2 years ago
// DISample.Sample();
#endregion
#region Telnet
//TelnetConsole console = new TelnetConsole(new StreamTelnetClient());
TelnetConsole console = new TelnetConsole(new SocketTelnetClient());
console.Start("200.200.200.123");
2 years ago
#endregion
2 years ago
}
}