/// <summary> /// Constructor /// </summary> /// <param name="formattingInfo">formatting info</param> /// <param name="precision">logger hierarchy depth precision</param> internal LoggerPatternConverter(FormattingInfo formattingInfo, int precision) : base(formattingInfo, precision) { }
/// <summary> /// Construct a converter with formatting info and a precision /// argument. The precision is the number of '.' separated sections /// to return, starting from the end of the string and working /// towards to the start. /// </summary> /// <param name="formattingInfo">the formatting info</param> /// <param name="precision">the precision</param> internal NamedPatternConverter(FormattingInfo formattingInfo, int precision) : base(formattingInfo) { m_precision = precision; }
/// <summary> /// Constructor /// </summary> /// <param name="formattingInfo">formatting info</param> /// <param name="precision">namespace depth precision</param> internal ClassNamePatternConverter(FormattingInfo formattingInfo, int precision) : base(formattingInfo, precision) { }
/// <summary> /// Construct the converter with formatting info and a /// <see cref="IDateFormatter"/> to format the date /// </summary> /// <param name="formattingInfo">the formatting info</param> /// <param name="df">the date formatter</param> internal DatePatternConverter(FormattingInfo formattingInfo, IDateFormatter df) : base(formattingInfo) { m_df = df; }
/// <summary> /// Construct the converter with formatting information and /// the type of location information required. /// </summary> /// <param name="formattingInfo"></param> /// <param name="type"></param> internal LocationPatternConverter(FormattingInfo formattingInfo, int type) : base(formattingInfo) { m_type = type; }
/// <summary> /// Construct the pattern converter with formatting info and type /// </summary> /// <param name="formattingInfo">the formatting info</param> /// <param name="type">the type of pattern</param> internal BasicPatternConverter(FormattingInfo formattingInfo, int type) : base(formattingInfo) { m_type = type; }
/// <summary> /// Construct the pattern converter with formatting info and event property key /// </summary> /// <param name="formattingInfo">the formatting info</param> /// <param name="key">the property key to emit</param> internal PropertyPatternConverter(FormattingInfo formattingInfo, string key) : base(formattingInfo) { m_key = key; }
/// <summary> /// Initializes a new instance of the <see cref="PatternConverter" /> class /// with the specified formatting info object. /// </summary> /// <param name="formattingInfo">The formatting info object to use.</param> protected PatternConverter(FormattingInfo formattingInfo) { m_min = formattingInfo.Min; m_max = formattingInfo.Max; m_leftAlign = formattingInfo.LeftAlign; }