ServiceStack/ServiceStack — pull request #472 by filipw (2013-02-17 16:20:18+00:00)
Title: Exposed protobuf RuntimeTypeModel as public

Public static *RuntimeTypeModel* allows the developer to use precompilation of types and set
things like *UseImplicitZeroDefaults*. Up till know we were using *Serialize.NonGeneric* which defaults to *RuntimeTypeModel.Default*.

For example:

ProtoBufFormat.Model.UseImplicitZeroDefaults = false;
ProtoBufFormat.Model.Add(typeof(MyType),false);
ProtoBufFormat.Model.Compile();