работает при разделенной абстракции и реализации

This commit is contained in:
2025-02-05 18:04:35 +03:00
parent 47c67a22af
commit d780d0ea0b
14 changed files with 79 additions and 64 deletions
+13
View File
@@ -0,0 +1,13 @@
using System.Text;
using Example.Shared;
namespace Example.Backend;
public class Page : IPage
{
public string Text;
public byte[] GetData()
{
return Encoding.UTF8.GetBytes(Text);
}
}