Hi,

I am new at Paython and Python.NET and have been trying to use my own .NET 
assemblies.

I have been able to get going with mostly but cannot get passed using C# 
structs.

I have a class with an embedded struct

public class Log
  {
  public class PageManager
    {
          public struct Page
            {
                public long byteEnd;
                public long byteStart;
                public int indexEnd;
                public int indexStart;
                public long timestampTick;
                public DecodedItem firstItem;
                public DecodedItem lastItem;
            }
        }
}

In my C# code I just use Log.PageManager.Page but I cannot figure out how to 
create a Page object in Python.
(I need to pass a Page object as an argument to a method.)

Is this possible ?

Thanks
Morné Joubert







---------------------------------------------------------------------
This transmission (including any attachments) may contain confidential 
information, privileged material (including material protected by the 
solicitor-client or other applicable privileges), or constitute non-public 
information. Any use of this information by anyone other than the intended 
recipient is prohibited. If you have received this transmission in error, 
please immediately reply to the sender and delete this information from your 
system. Use, dissemination, distribution, or reproduction of this transmission 
by unintended recipients is not authorized and may be unlawful.
_________________________________________________
Python.NET mailing list - PythonDotNet@python.org
http://mail.python.org/mailman/listinfo/pythondotnet

Reply via email to