I have a Bond schema that (ideally speaking) would have some inherited fields:
struct Context
{
10: required string thing;
20: required string otherthing;
};
struct SampleEvent : Context
{
20: required wstring evt;
};
and when I create my derived object (SampleEvent
) I can do so like this:
SampleEvent evt = new SampleEvent { evt = str };
but where can I set up initialization of the Context
fields?