예제 #1
0
        /// <summary>
        /// Initializes a new instance of the <see cref="WrapperMap"/> class.
        /// Initializes a new instance of the <see cref="WrapperMap" />.
        /// </summary>
        /// <param name="createWrapperHandler">The handler to use to create the wrapper objects.</param>
        /// <remarks>
        /// <para>
        /// Initializes a new instance of the <see cref="WrapperMap" /> class with
        /// the specified handler to create the wrapper objects.
        /// </para>
        /// </remarks>
        public WrapperMap(WrapperCreationHandler createWrapperHandler)
        {
            this.m_createWrapperHandler = createWrapperHandler;

            // Create the delegates for the event callbacks
            this.m_shutdownHandler = new LoggerRepositoryShutdownEventHandler(this.ILoggerRepository_Shutdown);
        }
예제 #2
0
		/// <summary>
		/// Initializes a new instance of the <see cref="WrapperMap" />
		/// </summary>
		/// <param name="createWrapperHandler">The handler to use to create the wrapper objects.</param>
		/// <remarks>
		/// <para>
		/// Initializes a new instance of the <see cref="WrapperMap" /> class with 
		/// the specified handler to create the wrapper objects.
		/// </para>
		/// </remarks>
		public WrapperMap(WrapperCreationHandler createWrapperHandler) 
		{
			m_createWrapperHandler = createWrapperHandler;

			// Create the delegates for the event callbacks
			m_shutdownHandler = new LoggerRepositoryShutdownEventHandler(ILoggerRepository_Shutdown);
		}
        /// <summary>
        /// Initializes a new instance of the <see cref="WrapperMap" /> class with
        /// the specified handler to create the wrapper objects.
        /// </summary>
        /// <param name="createWrapperHandler">The handler to use to create the wrapper objects.</param>
        public InjectableWrapperMap(WrapperCreationHandler createWrapperHandler)
        {
            m_createWrapperHandler = createWrapperHandler;

            // Create the delegates for the event callbacks
            m_shutdownHandler = new LoggerRepositoryShutdownEventHandler(OnShutdown);
        }
예제 #4
0
        /// <summary>
        /// Initializes a new instance of the <see cref="WrapperMap" />
        /// </summary>
        /// <param name="createWrapperHandler">The handler to use to create the wrapper objects.</param>
        /// <remarks>
        /// <para>
        /// Initializes a new instance of the <see cref="WrapperMap" /> class with
        /// the specified handler to create the wrapper objects.
        /// </para>
        /// </remarks>
        public WrapperMap(WrapperCreationHandler createWrapperHandler)
        {
            m_createWrapperHandler = createWrapperHandler;

            // Create the delegates for the event callbacks
            m_shutdownHandler = ILoggerRepository_Shutdown;
        }
예제 #5
0
 public WrapperMap(WrapperCreationHandler createWrapperHandler)
 {
     this.m_createWrapperHandler = createWrapperHandler;
     this.m_shutdownHandler      = new LoggerRepositoryShutdownEventHandler(this.ILoggerRepository_Shutdown);
 }
예제 #6
0
 /// <summary>
 /// Initializes a new instance of the <see cref="T:log4net.Core.WrapperMap" />
 /// </summary>
 /// <param name="createWrapperHandler">The handler to use to create the wrapper objects.</param>
 /// <remarks>
 /// <para>
 /// Initializes a new instance of the <see cref="T:log4net.Core.WrapperMap" /> class with
 /// the specified handler to create the wrapper objects.
 /// </para>
 /// </remarks>
 public WrapperMap(WrapperCreationHandler createWrapperHandler)
 {
     m_createWrapperHandler = createWrapperHandler;
     m_shutdownHandler      = ILoggerRepository_Shutdown;
 }
예제 #7
0
 public WrapperMap(WrapperCreationHandler createWrapperHandler)
 {
     m_createWrapperHandler = createWrapperHandler;
 }