System.Collections.Generic.IDictionary.ContainsKey(ObjectName)

Here are the examples of the csharp api System.Collections.Generic.IDictionary.ContainsKey(ObjectName) taken from open source projects. By voting up you can indicate which examples are most useful and appropriate.

2 Examples 7

19 Source : DbObjectCache.cs
with Apache License 2.0
from deveel

public bool TryResolveName(ObjectName name, bool ignoreCase, out ObjectName resolved) {
			if (ignoreCase)
				return ignoreCaseNames.TryGetValue(name, out resolved);

			if (cache.ContainsKey(name)) {
				resolved = name;
				return true;
			}

			resolved = null;
			return false;
		}

19 Source : DbObjectCache.cs
with Apache License 2.0
from deveel

public bool ContainsObject(ObjectName name) {
			return cache.ContainsKey(name);
		}