Summary
TestContext.PropertyBagAdapter
adapts an IPropertyBag
for consumption by the user.
- Namespace
- TCLite
- Base Types
-
- object
graph BT
Type-->Base0["object"]
Type["TestContext.PropertyBagAdapter"]
class Type type-node
Syntax
public class TestContext.PropertyBagAdapter
Constructors
Name | Summary |
---|---|
PropertyBagAdapter |
Construct a TestContext.PropertyBagAdapter from a source
IPropertyBag .
|
Properties
Name | Value | Summary |
---|---|---|
Keys | ICollection |
Returns a collection of the property keys.
|
this[string] | IEnumerable |
Returns a collection of properties
with the given key.
|
Methods
Name | Value | Summary |
---|---|---|
ContainsKey |
bool |
Indicates whether key is found in this
TestContext.PropertyBagAdapter .
|
Count |
int |
Returns the count of elements with the given key.
|
Get |
object |
Get the first property with the given key, if it can be found, otherwise
returns null.
|