File tree Expand file tree Collapse file tree 1 file changed +7
-6
lines changed
src/Nest/CommonAbstractions/Fluent Expand file tree Collapse file tree 1 file changed +7
-6
lines changed Original file line number Diff line number Diff line change 22
33namespace Nest
44{
5- public class FluentDictionary < K , V > : Dictionary < K , V >
5+ public class FluentDictionary < TKey , TValue > : Dictionary < TKey , TValue >
66 {
77 public FluentDictionary ( )
88 {
99 }
1010
11- public FluentDictionary ( IDictionary < K , V > copy )
11+ public FluentDictionary ( IDictionary < TKey , TValue > copy )
1212 {
1313 if ( copy == null )
1414 return ;
@@ -17,14 +17,15 @@ public FluentDictionary(IDictionary<K, V> copy)
1717 this [ kv . Key ] = kv . Value ;
1818 }
1919
20- public new FluentDictionary < K , V > Add ( K k , V v )
20+ public new FluentDictionary < TKey , TValue > Add ( TKey key , TValue value )
2121 {
22- base . Add ( k , v ) ;
22+ base . Add ( key , value ) ;
2323 return this ;
2424 }
25- public new FluentDictionary < K , V > Remove ( K k )
25+
26+ public new FluentDictionary < TKey , TValue > Remove ( TKey key )
2627 {
27- base . Remove ( k ) ;
28+ base . Remove ( key ) ;
2829 return this ;
2930 }
3031 }
You can’t perform that action at this time.
0 commit comments