PeanutButter
|
Provides a collection of string maps. More...
Public Member Functions | |
void | Clear () |
Clears the store. | |
virtual IEnumerator< KeyValuePair< string, string > > | GetEnumerator () |
bool | ContainsKey (string key) |
Returns true if the key is stored. | |
bool | TryGetValue (string key, out string value) |
Attempts to get the value associated with the provided key. |
Protected Member Functions | |
virtual void | Store (string key, string value) |
Stores the value in the store. | |
virtual string | Retrieve (string key) |
retrieves the value from the store |
Properties | |
int | Count [get] |
Returns the count of the store. | |
ICollection< string > | Keys [get] |
Returns all keys in the store. | |
string | this[string key] [get, set] |
Indexes into the store. |
Provides a collection of string maps.
bool PeanutButter.TestUtils.AspNetCore.Fakes.StringMap.ContainsKey | ( | string | key | ) |
Returns true if the key is stored.
key |
|
virtual |
Reimplemented in PeanutButter.TestUtils.AspNetCore.Fakes.FakeRequestCookieCollection.
|
protectedvirtual |
retrieves the value from the store
key |
Reimplemented in PeanutButter.TestUtils.AspNetCore.Fakes.FakeRequestCookieCollection.
|
protectedvirtual |
Stores the value in the store.
key | |
value |
Reimplemented in PeanutButter.TestUtils.AspNetCore.Fakes.FakeRequestCookieCollection.
bool PeanutButter.TestUtils.AspNetCore.Fakes.StringMap.TryGetValue | ( | string | key, |
out string | value ) |
Attempts to get the value associated with the provided key.
key | |
value |
|
getset |
Indexes into the store.
key |