コード例 #1
0
        public CSharpTypePrinter(Driver driver)
        {
            this.driver = driver;

            contexts = new Stack <CSharpTypePrinterContextKind>();
            PushContext(CSharpTypePrinterContextKind.Managed);

            Context = new CSharpTypePrinterContext();
        }
コード例 #2
0
        public CSharpTypePrinter(BindingContext context)
        {
            Context      = context;
            contexts     = new Stack <CSharpTypePrinterContextKind>();
            marshalKinds = new Stack <CSharpMarshalKind>();
            PushContext(CSharpTypePrinterContextKind.Managed);
            PushMarshalKind(CSharpMarshalKind.Unknown);

            TypePrinterContext = new CSharpTypePrinterContext();
        }
コード例 #3
0
ファイル: CSharpTypePrinter.cs プロジェクト: gpetrou/CppSharp
        public CSharpTypePrinter(ITypeMapDatabase database, ASTContext context)
        {
            TypeMapDatabase = database;
            AstContext      = context;

            contexts = new Stack <CSharpTypePrinterContextKind>();
            PushContext(CSharpTypePrinterContextKind.Managed);

            Context = new CSharpTypePrinterContext();
        }
コード例 #4
0
        public CSharpTypePrinter(ITypeMapDatabase database, Library library)
        {
            TypeMapDatabase = database;
            Library         = library;

            contexts = new Stack <CSharpTypePrinterContextKind>();
            PushContext(CSharpTypePrinterContextKind.Managed);

            Context = new CSharpTypePrinterContext();
        }
コード例 #5
0
        public CSharpTypePrinter(Driver driver)
        {
            this.driver = driver;

            contexts     = new Stack <CSharpTypePrinterContextKind>();
            marshalKinds = new Stack <CSharpMarshalKind>();
            PushContext(CSharpTypePrinterContextKind.Managed);
            PushMarshalKind(CSharpMarshalKind.Unknown);

            Context = new CSharpTypePrinterContext();
        }
コード例 #6
0
ファイル: CSharpTypePrinter.cs プロジェクト: UIKit0/CppSharp
        public CSharpTypePrinter(ITypeMapDatabase database, DriverOptions driverOptions, ASTContext context)
        {
            TypeMapDatabase    = database;
            this.driverOptions = driverOptions;
            AstContext         = context;

            contexts = new Stack <CSharpTypePrinterContextKind>();
            PushContext(CSharpTypePrinterContextKind.Managed);

            Context = new CSharpTypePrinterContext();
        }