Пример #1
0
 /// <summary>
 /// Configures component by passing configuration parameters.
 /// </summary>
 /// <param name="config">configuration parameters to be set.</param>
 public override void Configure(ConfigParams config)
 {
     base.Configure(config);
     _persister.Configure(config);
 }
Пример #2
0
 /// <summary>
 /// Configures component by passing configuration parameters.
 /// </summary>
 /// <param name="config">configuration parameters to be set.</param>
 public virtual void Configure(ConfigParams config)
 {
     _persister.Configure(config);
 }
 public void Configure_IfNoPathKey_Fails()
 {
     Assert.Throws <ConfigException>(() => _persister.Configure(new ConfigParams()));
 }