NLog.Layouts.SimpleLayout.SimpleLayout C# (CSharp) Method

SimpleLayout() public method

Initializes a new instance of the SimpleLayout class.
public SimpleLayout ( string txt, ConfigurationItemFactory configurationItemFactory ) : System.Collections.Generic
txt string The layout string to parse.
configurationItemFactory NLog.Config.ConfigurationItemFactory The NLog factories to use when creating references to layout renderers.
return System.Collections.Generic
        public SimpleLayout(string txt, ConfigurationItemFactory configurationItemFactory)
        {
            this.configurationItemFactory = configurationItemFactory;
            this.Text = txt;
        }
        internal SimpleLayout(LayoutRenderer[] renderers, string text, ConfigurationItemFactory configurationItemFactory)

Same methods

SimpleLayout::SimpleLayout ( ) : System.Collections.Generic
SimpleLayout::SimpleLayout ( LayoutRenderer renderers, string text, ConfigurationItemFactory configurationItemFactory ) : System.Collections.Generic
SimpleLayout::SimpleLayout ( string txt ) : System.Collections.Generic