// Public members public static void Add(this ILogHeaderCollection headers, LogHeaderKey key, Func <string> getter) { headers.Add(LogHeaderKeyToString(key), getter); }
public static bool TryGetValue(this ILogHeaderCollection headers, LogHeaderKey key, out string value) { return(headers.TryGetValue(LogHeaderKeyToString(key), out value)); }
public static bool Remove(this ILogHeaderCollection headers, LogHeaderKey key) { return(headers.Remove(LogHeaderKeyToString(key))); }
public static bool ContainsKey(this ILogHeaderCollection headers, LogHeaderKey key) { return(headers.ContainsKey(LogHeaderKeyToString(key))); }
public static void Add(this ILogHeaderCollection headers, LogHeaderKey key, string value) { headers.Add(key, () => value); }