/// <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); }
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); }
static Helpers() { LibraryInitializer.InitLibrary(); MsAccessQueryProviderFactory.Register(); }