работает при разделенной абстракции и реализации
This commit is contained in:
@@ -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);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user