Esempio n. 1
0
        /// <exception cref="LoadError"></exception>
        internal void LoadBuiltins()
        {
            Type initializerType;

            try {
                Assembly assembly = _context.DomainManager.Platform.LoadAssembly(GetIronRubyAssemblyLongName("IronRuby.Libraries"));
                initializerType = assembly.GetType(LibraryInitializer.GetBuiltinsFullTypeName());
            } catch (Exception e) {
                throw RubyExceptions.CreateLoadError(e);
            }

            LoadLibrary(initializerType, true);
        }
Esempio n. 2
0
    static int Main(string[] args)
    {
        var cell = DispatchCellInfo.Create();

        var    load = DeveloperExperience.Default;
        string str  = "Hello";

        load.WriteLine(str);
        LibraryInitializer.InitializeLibrary();

        var Console = new DeveloperExperienceConsole();

        Console.WriteLine("Hello Private.DeveloperExperience.Console ");

        return(0);
    }
Esempio n. 3
0
 static Helpers()
 {
     LibraryInitializer.InitLibrary();
     MsAccessQueryProviderFactory.Register();
 }