25 lines
346 B
Beef
25 lines
346 B
Beef
|
namespace Bofa.Testing;
|
||
|
|
||
|
using System;
|
||
|
|
||
|
using Bofa;
|
||
|
using Bofa.Serialization;
|
||
|
|
||
|
[BofaSerialize]
|
||
|
class Serialization
|
||
|
{
|
||
|
public int anInteger = (.)1;
|
||
|
|
||
|
[Test]
|
||
|
public static void Test()
|
||
|
{
|
||
|
Serialization s = scope .();
|
||
|
Bofa b = scope .();
|
||
|
b.Name = "s";
|
||
|
s.Serialize(b);
|
||
|
|
||
|
Console.WriteLine(b.ToString(.. scope .()));
|
||
|
//Console.Read();
|
||
|
}
|
||
|
|
||
|
}
|