Using OverwriteList with TypeModel (not with attributes) - protobuf-net

64 Views Asked by At

I have a class to which I cannot add attributes, so I am configuring the TypeModel instead. Is there a way to specify the OverwriteList behaviour on a property by configuring the TypeModel? Something like this maybe:

var property = model[typeof(Foo)].Add(1, "SomeList");
property.OverwriteList = true;
0

There are 0 best solutions below