Hi,
Is there a way to convert the go class to protobuf? I want to convert the
following to .proto file.
https://github.com/heptio/contour/blob/master/apis/generated/listers/contour/v1beta1/ingressroute.go
Thanks in advance.
Regards,
Srinivas
--
You received this message because you are
OK; that helps a bit; now, I've tried that with:
using Google.Protobuf;
using SCL.PC;
using System;
using System.Xml.Serialization;
static class P
{
static void Main()
{
var obj = new ClientIdentifier
{
Context = ClientIdentifier.Types.Context.Cfid,
I did the same but it throwing the error.. I dont know what I am making
mistake here . All my application are 3.5 .net version,
Please find actual CS file which I am trying to serialize.
On Wed, 21 Aug 2019 at 14:06, Marc Gravell wrote:
> K, I took the tiny bit of code you posted, and added
K, I took the tiny bit of code you posted, and added something that uses it
with XmlSerializer, which basically meant implementing the interface (with
NIEs) and adding:
using System;
using System.Xml.Serialization;
using pb = global::Google.Protobuf;
using pbr =
I am not able to initialize XmlSerializer class itself. It is failing
saying "static Types cannot be serialized "
On Wed, 21 Aug 2019 at 00:20, Marc Gravell wrote:
> Can you show any of your XmlSerializer code here, so can understand it? I
> wouldn't expect the presence of a static type to