/// <summary> /// Initializes a new instance of the <see cref="Config"/> class. /// </summary> /// <param name="setupMethod"> /// The setup method. /// </param> public Config(SetUpConfig setupMethod) { setupMethod.Invoke(this); }
/// <summary> /// Initializes a new instance of the <see cref="Config"/> class. /// </summary> public Config() { SetUpConfig setup = Config.DefaultSetup; setup.Invoke(this); }