Exemplo n.º 1
0
 public static void Set <T>(this ISymbolDictionary dictionary, ISymbol <T> symbol, T value)
 {
     Guard.NotNull(dictionary, "dictionary");
     dictionary.Set(symbol, new Maybe <T>(value));
 }
Exemplo n.º 2
0
 public static void Set <T>(this ISymbolDictionary dictionary, ISymbol <T> symbol, Maybe <T> value)
 {
     Guard.NotNull(dictionary, "dictionary");
     dictionary.Set((ISymbol)symbol, value);
 }