public Contains ( object key ) : bool | ||
key | object | The key to locate in the |
리턴 | bool |
public void Contains_IsCorrectWhenValueIsNull() { var adapter = new NameValueCollectionAdapter(nameValueCollection); adapter["a key"] = null; Assert.IsTrue(adapter.Contains("A Key")); }
public void Contains_IsCaseInsensitive() { var adapter = new NameValueCollectionAdapter(nameValueCollection); adapter["a key"] = "a value"; Assert.IsTrue(adapter.Contains("A Key")); }