Exemplo n.º 1
0
 private IProtoSerializer BuildSerializer()
 {
     IProtoSerializer ser = new SubItemSerializer(derivedType.Type, derivedType.GetKey(false, false), derivedType);
     return new TagDecorator(fieldNumber, WireType.String, false, ser);
 }
Exemplo n.º 2
0
 private IProtoSerializer BuildSerializer()
 {
     // note the caller here is MetaType.BuildSerializer, which already has the sync-lock
     IProtoSerializer ser = new SubItemSerializer(derivedType.Type, derivedType.GetKey(false, false), derivedType, false);
     return new TagDecorator(fieldNumber, WireType.String, false, ser);
 }