Hi,
In proto file I have defined:
enum MyEnum{
THIS_IS_VAL_1 = 0,
THIS_IS_VAL_2 = 1
}
Then in my c# client I see enum like:
enum MyEnum{
[pbr::OriginalName("THIS_IS_VAL_1 ")] ThisIsVal1= 0,
[pbr::OriginalName("THIS_IS_VAL_2 ")] ThisIsVal2= 1
}
Questions, is there any mechanism provided by Proto to extract the original
name or shall I use a reflection to extract attribute value?
Thank you in advance for any hints.
--
You received this message because you are subscribed to the Google Groups
"Protocol Buffers" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/protobuf/34799591-09e4-4a80-865c-ebd98da35408n%40googlegroups.com.