TestContext.

TestContext.PropertyBagAdapter Class

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

Properties

Name Value Summary
Keys ICollection<string>
Returns a collection of the property keys.
this[string] IEnumerable<object>
Returns a collection of properties with the given key.

Methods

Name Value Summary
ContainsKey(string) bool
Indicates whether key is found in this TestContext.PropertyBagAdapter.
Count(string) int
Returns the count of elements with the given key.
Get(string) object
Get the first property with the given key, if it can be found, otherwise returns null.