aboutsummaryrefslogtreecommitdiff
path: root/csharp/src/Google.Protobuf/WellKnownTypes/AnyPartial.cs
Commit message (Collapse)AuthorAgeFilesLines
* Make Any easier to work with in C#Jon Skeet2017-07-031-7/+36
| | | | | | | - Add a TryUnpack method which doesn't throw if the type is wrong - Make GetTypeName public for easier determination of the message type Fixes #3294.
* Allow custom type URL prefixes in Any.PackJon Skeet2016-04-291-10/+38
| | | | | | (And likewise ignore the prefix in unpack.) Fixes issue #1459.
* Rename Preconditions to ProtoPreconditionsJon Skeet2016-02-041-1/+1
| | | | (Generated code changes in next commit.)
* Pack/Unpack implementation for Any.Jon Skeet2015-09-041-0/+79
We still need the JSON representation, which relies on something like a DescriptorPool to fetch message types from based on the type URL. That will come a bit later. (The DescriptorPool comment in this commit is just a note which will prove useful if we use DescriptorPool itself.)