Re: [Python.NET] How to use C# object[] in python
techi eth <[email protected]> Wed, 18 Apr 2018 18:50:07 +0530
| Newsgroups | gmane.comp.python.dotnet |
|---|---|
| Message-ID | <CAJw2sSBa8T8Tp5Zdj35F8cTn6q9SbQUKVW6yQ9-eiYw3Gz8g2Q@mail.gmail.com> |
Any hint or input on raised query will be helpful. Thanks On Mon, Apr 16, 2018 at 9:49 AM, techi eth <[email protected]> wrote: > I am trying to use one of data struct class defined in c# dll to python > script. I am facing difficulty in adding c# object under payload. Can > anyone give me hint or any example which will useful for assigning payload > under object array. > > > > public class TestPayload > > { > > public string RequestId { get; set; } > > public byte[] ServiceIds { get; set; } > > public object[] Payload { get; set; } > > public bool IsStatus { get; set; } > > public long ExpiryDateTime { get; set; } > > } > > > > Note : I am able to add other parameter defined in class & pass from > python script to c#. > > > > Thanks > > _________________________________________________ Python.NET mailing list - [email protected] https://mail.python.org/mailman/listinfo/pythondotnet