/// <summary> /// Creates an instance of the class /// </summary> public Core() { Settings = new Settings(); Console = new DebugConsole(); Invoker = new Invoker(this); }
/// <summary> /// Creates an instance of the class /// </summary> /// <param name="isDefault">Mark this instance as default instance</param> private Core(bool isDefault) { IsDefault = isDefault; if (IsDefault) { Settings = Settings.Default; Console = DebugConsole.Default; Invoker = Invoker.Default; } else { Settings = new Settings(); Console = new DebugConsole(); Invoker = new Invoker(this); } }
/// <summary> /// Creates an instance of the class /// </summary> public Core() { _appDomain = new CurrentAppDomain(this); Settings = new Settings(); Console = new DebugConsole(); Invoker = new Invoker(this); }