Adds the specified path to the collection.
- Namespace
- Statiq
.Common - Containing Type
- PathCollection
Syntax
public bool Add(NormalizedPath path, bool removable)
Parameters
Name | Type | Description |
---|---|---|
path | NormalizedPath | The path to add. |
removable | bool | Indicates if this path can be removed from the collection. |
Return Value
Type | Description |
---|---|
bool |
true if the path was added; false if the path was already present.
|