Summary
An ordered collection of unique
Wyam.Common.IO.NormalizedPath
.
- Assembly
- Wyam
.Common .dll - Namespace
- Wyam
.Common .IO - Interfaces
-
- IReadOnlyList
<TPath>
- IReadOnlyList
- Base Types
-
- Object
graph BT
Type-->Base0["Object"]
Type-.->Interface0["IReadOnlyList<TPath>"]
Type["PathCollection<TPath>"]
class Type type-node
Syntax
public class PathCollection<TPath> : IReadOnlyList<TPath> where TPath : NormalizedPath
Type Parameters
Name | Description |
---|---|
TPath | The type of the path (file or directory). |
Constructors
Name | Summary |
---|---|
PathCollection |
Initializes a new path collection. |
PathCollection |
Initializes a new path collection. |
Properties
Methods
Name | Value | Summary |
---|---|---|
Add |
bool |
Adds the specified path to the collection.
|
AddRange |
void |
Adds the specified paths to the collection.
|
Clear |
void |
Clears all paths from the collection.
|
Contains |
bool |
Determines whether the collection contains the specified path.
|
GetEnumerator |
IEnumerator |
Returns an enumerator that iterates through the collection.
|
IndexOf |
int |
Returns the index of the specified path.
|
Insert |
bool |
Inserts the path at the specified index.
|
Remove |
bool |
Removes the specified path.
|
RemoveAt |
void |
Removes the path at the specified index.
|
RemoveRange |
void |
Removes the specified paths from the collection.
|