OnDeserialized attribute for ProtoBuf-NET
问题 We used JSON.NET to serialize our data together with OnDeserialized attribute to execute custom code after deserialization: [OnDeserialized] internal void OnDeserializedMethod(StreamingContext context) { ... } Now we try to use protobuf instead of JSON.NET and this method is not executing. Is there another way to achieve this behaviour with protobuf.net ? Here is an example that doesn't work: class Program { static void Main(string[] args) { RuntimeTypeModel.Default.Add(typeof (Profile),