Class PropertyBagUtility
Helper methods to query an IPropertyBag<TContainer>.
Inherited Members
Namespace: Unity.Properties
Assembly: Unity.Properties.dll
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 |
|---|---|
| bool |
Type Parameters
| Name | Description |
|---|---|
| TContainer |