internal static string GetDecorators(DecoratorDictionary decorators) { var sb = new StringBuilder(); foreach (var k in decorators) { sb.AppendFormat("KeyType(typeof,string)={0}, {1}, ValueType={2}, {3}{4}", k.Key.GetType(), k.Key, k.Value.GetType(), k.Value, Environment.NewLine); } return sb.ToString(); }
internal static string GetDecorators(DecoratorDictionary decorators) { var sb = new StringBuilder(); foreach (var k in decorators) { sb.AppendFormat("KeyType(typeof,string)={0}, {1}, ValueType={2}, {3}{4}", k.Key.GetType(), k.Key, k.Value.GetType(), k.Value, Environment.NewLine); } return(sb.ToString()); }
/// <summary> /// Initializes a new log message. /// </summary> /// <param name="messageType">The message type.</param> public LogMessage(LogMessageType messageType) { Decorators = new DecoratorDictionary(); MessageType = messageType; }