NUnit.Framework.Api.IPropertyBag: Method Members

The methods of NUnit.Framework.Api.IPropertyBag are listed below. For a list of all members, see the IPropertyBag Members list.

Public Methods

Add(string, object)
Adds a key/value pair to the property bag
Contains(Xamarin.iOS.dll=NUnit.Framework.Api.PropertyEntry) : bool
Gets a flag indicating whether the specified key and value are present in the property set.
Contains(string, object) : bool
Gets a flag indicating whether the specified key and value are present in the property set.
ContainsKey(string) : bool
Gets a flag indicating whether the specified key has any entries in the property set.
Get(string) : object
Gets a single value for a key, using the first one if multiple values are present and returning null if the value is not found.
GetSetting(string, bool) : bool
Gets a single boolean value for a key, using the first one if multiple values are present and returning the default value if no entry is found.
GetSetting(string, Enum) : Enum
Gets a single enum value for a key, using the first one if multiple values are present and returning the default value if no entry is found.
GetSetting(string, int) : int
Gets a single int value for a key, using the first one if multiple values are present and returning the default value if no entry is found.
GetSetting(string, string) : string
Gets a single string value for a key, using the first one if multiple values are present and returning the default value if no entry is found.
Remove(string)
Removes all entries for a key from the property set. If the key is not found, no error occurs.
Remove(Xamarin.iOS.dll=NUnit.Framework.Api.PropertyEntry)
Removes a specific PropertyEntry. If the entry is not found, no errr occurs.
Remove(string, object)
Removes a single entry if present. If not found, no error occurs.
Set(string, object)
Sets the value for a key, removing any other values that are already in the property set.