コード例 #1
0
 protected override void Build(ref VariablesTestNode data, BlobBuilder builder, ITreeNode <INodeDataBuilder>[] builders)
 {
     LongVariable.Allocate(ref builder, ref data.LongVariable);
     builder.AllocateString(ref data.String, String);
     builder.AllocateArray(ref data.IntArray, IntArray);
     DestVariable.Allocate(ref builder, ref data.DestVariable);
     SrcVariable.Allocate(ref builder, ref data.SrcVariable);
 }
コード例 #2
0
 protected override void Build(ref VariableNode data, BlobBuilder builder, ITreeNode <INodeDataBuilder>[] tree)
 {
     IntVariable.Allocate(ref builder, ref data.IntBlobVariable, this, tree);
 }