Ejemplo n.º 1
0
 /// <summary>
 /// Activate this appender
 /// </summary>
 /// <remarks>
 /// <para>
 /// If a <see cref="Layout"/> has not been specified then this
 /// method will create a default <see cref="WmiLayout"/> instance.
 /// </para>
 /// </remarks>
 public void ActivateOptions()
 {
     if (m_layout == null)
     {
         m_layout = new WmiLayout();
     }
 }
Ejemplo n.º 2
0
		/// <summary>
		/// Activate this appender
		/// </summary>
		/// <remarks>
		/// <para>
		/// If a <see cref="Layout"/> has not been specified then this
		/// method will create a default <see cref="WmiLayout"/> instance.
		/// </para>
		/// </remarks>
		public void ActivateOptions() 
		{
			if (m_layout == null)
			{
				m_layout = new WmiLayout();
			}
		}