Add project files.

This commit is contained in:
2023-08-07 09:18:08 +02:00
parent 7542685963
commit 1f39c39d96
10 changed files with 374 additions and 0 deletions

View File

@ -0,0 +1,9 @@
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<TargetFramework>net7.0</TargetFramework>
<ImplicitUsings>enable</ImplicitUsings>
<Nullable>enable</Nullable>
</PropertyGroup>
</Project>

8
DIDemoLib/IMessages.cs Normal file
View File

@ -0,0 +1,8 @@
namespace DIDemoLib
{
public interface IMessages
{
string SayGoodBye();
string SayHello();
}
}

14
DIDemoLib/Messages.cs Normal file
View File

@ -0,0 +1,14 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace DIDemoLib
{
public class Messages : IMessages
{
public string SayHello() => "Hello Viewer";
public string SayGoodBye() => "Goodbye, farewell and good day!";
}
}