Exemplo n.º 1
0
 /// <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);
 }
Exemplo n.º 2
0
        /// <summary>
        /// Initializes a new instance of the <see cref="Config"/> class.
        /// </summary>
        public Config()
        {
            SetUpConfig setup = Config.DefaultSetup;

            setup.Invoke(this);
        }