Class PropertyBagUtility
Helper methods to query an IPropertyBag<TContainer>.
Namespace: Unity.Properties
Syntax
public static class PropertyBagUtility
Methods
HasProperty<TContainer>(IPropertyBag<TContainer>, String)
Checks if the given IPropertyBag<TContainer> has any property with the given name.
Declaration
public static bool HasProperty<TContainer>(this IPropertyBag<TContainer> propertyBag, string name)
Parameters
| Type | Name | Description |
|---|---|---|
| IPropertyBag<TContainer> | propertyBag | |
| String | name |
Returns
| Type | Description |
|---|---|
| Boolean |
Type Parameters
| Name | Description |
|---|---|
| TContainer |