Ejemplo n.º 1
0
        public CSharpTypePrinter(Driver driver)
        {
            this.driver = driver;

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

            Context = new CSharpTypePrinterContext();
        }
Ejemplo n.º 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();
        }
Ejemplo n.º 3
0
        public CSharpTypePrinter(ITypeMapDatabase database, ASTContext context)
        {
            TypeMapDatabase = database;
            AstContext      = context;

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

            Context = new CSharpTypePrinterContext();
        }
Ejemplo n.º 4
0
        public CSharpTypePrinter(ITypeMapDatabase database, Library library)
        {
            TypeMapDatabase = database;
            Library         = library;

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

            Context = new CSharpTypePrinterContext();
        }
Ejemplo n.º 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();
        }
Ejemplo n.º 6
0
        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();
        }