27 lines
No EOL
457 B
Beef
27 lines
No EOL
457 B
Beef
namespace Bofa.Testing;
|
|
|
|
using System;
|
|
using System.Collections;
|
|
|
|
using Bofa;
|
|
using Bofa.Serialization;
|
|
|
|
[BofaSerialize]
|
|
class Serialization
|
|
{
|
|
public int anInteger = 1;
|
|
public String aString = "Value";
|
|
public List<String> listOfStrings = new .() ~ DeleteContainerAndItems!(_);
|
|
|
|
[Test]
|
|
public static void Test()
|
|
{
|
|
Serialization s = scope .();
|
|
s.listOfStrings.Add(new .("dfdsfdsfdsf"));
|
|
Bofa b = scope .();
|
|
b.Name = "s";
|
|
s.Serialize(b);
|
|
|
|
}
|
|
|
|
} |