/// <summary> /// Initializes a new instance of the <see cref="FluentNamespaceLogging"/> class. /// </summary> /// <param name="configuration">Base logging configuration.</param> /// <param name="name">Namespace name.</param> public FluentNamespaceLogging(FluentConfiguration configuration, string name) { Contract.Requires<ArgumentNullException>(configuration != null); Contract.Requires<ArgumentNullException>(!string.IsNullOrEmpty(name)); Name = name; _configuration = configuration; }
/// <summary> /// Initializes a new instance of the <see cref="FluentTargetConfiguration"/> class. /// </summary> /// <param name="configuration">Main configuration class.</param> /// <param name="name">Alias for this target</param> public FluentTargetConfiguration(FluentConfiguration configuration, string name) { As = new FluentTargetConfigurationTypes(this); Done = configuration; _name = name; }
/// <summary> /// Initializes a new instance of the <see cref="FluentNamespaceLogging"/> class. /// </summary> /// <param name="configuration">Base logging configuration.</param> /// <param name="name">Namespace name.</param> public FluentNamespaceLogging(FluentConfiguration configuration, string name) { Name = name; _configuration = configuration; }
/// <summary> /// Initializes a new instance of the <see cref="FluentConfiguration"/> class. /// </summary> public FluentConfiguration() { _generated = this; }