/// <summary> /// Prevents a default instance of the <see cref="EngineCore" /> class from being created. /// </summary> private EngineCore() { this.Processes = ProcessAdapterFactory.GetProcessAdapter(); this.VirtualMemory = VirtualMemoryAdapterFactory.GetVirtualMemoryAdapter(); this.Network = new Network(); this.Architecture = ArchitectureFactory.GetArchitecture(); this.Input = new InputManager(); this.StartBackgroundServices(); }
/// <summary> /// Prevents a default instance of the <see cref="EngineCore" /> class from being created. /// </summary> private EngineCore() { this.Processes = ProcessAdapterFactory.GetProcessAdapter(); this.VirtualMemory = VirtualMemoryAdapterFactory.GetVirtualMemoryAdapter(); this.Debugger = DebuggerFactory.GetDebugger(); this.Graphics = new GraphicsAdapter(); this.Network = new Network(); this.Architecture = ArchitectureFactory.GetArchitecture(); this.Input = new InputManager(); if (this.Architecture.HasVectorSupport()) { OutputViewModel.GetInstance().Log(OutputViewModel.LogLevel.Info, "Hardware acceleration enabled"); OutputViewModel.GetInstance().Log(OutputViewModel.LogLevel.Info, "Vector size: " + System.Numerics.Vector <Byte> .Count); } this.StartBackgroundServices(); }