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); } }
protected static void CopyProperty(IActivityScope source, Dictionary <string, object> target, Enum sourceKey, string targetKey) { ExtensibleLogger.CopyProperty(source, target, sourceKey, targetKey, false); }