@@ -108,7 +108,7 @@ public ExtensionDictionaryInfo<T, KVP, K, V> RegisterDictionary<T, KVP, K, V>(
108
108
Expression<Func<KVP, V>> valueSelector,
109
109
ResetLazy<HashSet<K>>? allKeys = null)
110
110
where T : Entity
111
-
where K : object
111
+
where K : notnull
112
112
{
113
113
var mei = new ExtensionDictionaryInfo<T, KVP, K, V>(collectionSelector, keySelector, valueSelector,
114
114
allKeys ?? GetAllKeysLazy<T, KVP, K>(collectionSelector, keySelector));
@@ -126,7 +126,7 @@ public ExtensionDictionaryInfo<M, KVP, K, V> RegisterDictionaryInEmbedded<T, M,
126
126
ResetLazy<HashSet<K>>? allKeys = null)
127
127
where T : Entity
128
128
where M : ModifiableEntity
129
-
where K : object
129
+
where K : notnull
130
130
{
131
131
var mei = new ExtensionDictionaryInfo<M, KVP, K, V>(collectionSelector, keySelector, valueSelector,
132
132
allKeys ?? GetAllKeysLazy<T, KVP, K>(CombineSelectors(embeddedSelector, collectionSelector), keySelector));
@@ -173,7 +173,7 @@ public interface IExtensionDictionaryInfo
173
173
}
174
174
175
175
public class ExtensionDictionaryInfo<T, KVP, K, V> : IExtensionDictionaryInfo
176
-
where K : object
176
+
where K : notnull
177
177
{
178
178
public ResetLazy<HashSet<K>> AllKeys;
179
179
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4