Method ContainsCategory
ContainsCategory(string)
Declaration
public bool ContainsCategory(string id)
Parameters
Type | Name | Description |
---|---|---|
string | id | The id to find. |
Returns
Type | Description |
---|---|
bool |
|
Exceptions
Type | Condition |
---|---|
ArgumentNullException | If the |
ContainsCategory(Category)
Tells whether or not this catalog contains the specified Category instance.
Declaration
public bool ContainsCategory(Category category)
Parameters
Type | Name | Description |
---|---|---|
Category | category | The Category to find. |
Returns
Type | Description |
---|---|
bool |
|
Exceptions
Type | Condition |
---|---|
ArgumentNullException | If the
|