Beispiel #1
0
 protected static void CopyProperties(IActivityScope source, Dictionary <string, object> target, IEnumerable <KeyValuePair <Enum, string> > enumToKeyMappings)
 {
     foreach (KeyValuePair <Enum, string> keyValuePair in enumToKeyMappings)
     {
         ExtensibleLogger.CopyProperty(source, target, keyValuePair.Key, keyValuePair.Value, false);
     }
 }
Beispiel #2
0
 protected static void CopyProperty(IActivityScope source, Dictionary <string, object> target, Enum sourceKey, string targetKey)
 {
     ExtensibleLogger.CopyProperty(source, target, sourceKey, targetKey, false);
 }