TestPipelineCollection Class
Namespace
Statiq.Testing
Interfaces
Base Types
  • object
graph BT Type-->Base0["object"] Type-.->Interface0["IPipelineCollection"] click Interface0 "/api/Statiq.Common/IPipelineCollection" Type-.->Interface1["IReadOnlyPipelineCollection"] click Interface1 "/api/Statiq.Common/IReadOnlyPipelineCollection" Type-.->Interface2["IReadOnlyDictionary<string, IReadOnlyPipeline>"] Type-.->Interface3["IReadOnlyCollection<KeyValuePair<string, IReadOnlyPipeline>>"] Type-.->Interface4["IEnumerable<KeyValuePair<string, IReadOnlyPipeline>>"] Type-.->Interface5["IDictionary<string, IPipeline>"] Type-.->Interface6["ICollection<KeyValuePair<string, IPipeline>>"] Type-.->Interface7["IEnumerable<KeyValuePair<string, IPipeline>>"] Type-.->Interface8["IEnumerable"] Type["TestPipelineCollection"] class Type type-node

Syntax

public class TestPipelineCollection : IPipelineCollection, IReadOnlyPipelineCollection, 
    IReadOnlyDictionary<string, IReadOnlyPipeline>, 
    IReadOnlyCollection<KeyValuePair<string, IReadOnlyPipeline>>, 
    IEnumerable<KeyValuePair<string, IReadOnlyPipeline>>, IDictionary<string, IPipeline>, 
    ICollection<KeyValuePair<string, IPipeline>>, IEnumerable<KeyValuePair<string, IPipeline>>, 
    IEnumerable

Properties

Name Property Type Summary
Count int
IsReadOnly bool
Keys ICollection<string>
this[string] IPipeline
Values ICollection<IPipeline>

Methods

Extension Methods

Name Value Summary
Add(IPipeline) void
AddIfNonExisting(IPipeline) void
AddOrReplaceRange<string, IPipeline>(IEnumerable<KeyValuePair<string, IPipeline>>) void
AddRange<KeyValuePair<string, IPipeline>>(IEnumerable<KeyValuePair<string, IPipeline>>) void
Adds a range of values to a collection.
AddRange<KeyValuePair<string, IPipeline>>(KeyValuePair<string, IPipeline>[]) void
Adds a range of values to a collection.
ContainsAnyKeys<string, IReadOnlyPipeline>(IEnumerable<string>) bool
Determines whether the dictionary contains all the specified keys.
ContainsAnyKeys<string, IReadOnlyPipeline>(string[]) bool
Determines whether the dictionary contains all the specified keys.
ContainsKeys<string, IReadOnlyPipeline>(IEnumerable<string>) bool
Determines whether the dictionary contains all the specified keys.
ContainsKeys<string, IReadOnlyPipeline>(string[]) bool
Determines whether the dictionary contains all the specified keys.
RemoveAll<KeyValuePair<string, IPipeline>>(Func<KeyValuePair<string, IPipeline>, bool>) int
Removes all items that match a predicate from a collection.
RequireKeys<string, IReadOnlyPipeline>(IEnumerable<string>) void
Verifies that a dictionary contains all requires keys. An System.ArgumentException will be thrown if the specified keys are not all present in the dictionary.
RequireKeys<string, IReadOnlyPipeline>(string[]) void
Verifies that a dictionary contains all requires keys. An System.ArgumentException will be thrown if the specified keys are not all present in the dictionary.
ThrowIfNull<TestPipelineCollection>(string) T
ToDocument<TestPipelineCollection>(IContentProvider) IDocument
ToDocument<TestPipelineCollection>(IEnumerable<KeyValuePair<string, object>>, IContentProvider) IDocument
ToDocument<TestPipelineCollection>(NormalizedPath, IContentProvider) IDocument
ToDocument<TestPipelineCollection>(NormalizedPath, IEnumerable<KeyValuePair<string, object>>, IContentProvider) IDocument
ToDocument<TestPipelineCollection>(NormalizedPath, NormalizedPath, IContentProvider) IDocument
ToDocument<TestPipelineCollection>(NormalizedPath, NormalizedPath, IEnumerable<KeyValuePair<string, object>>, IContentProvider) IDocument
TryAdd<string, TArg, IPipeline>(string, TArg, Func<string, TArg, IPipeline>) bool
TryAdd<string, IPipeline>(string, Func<string, IPipeline>) bool
TryAddRange<string, IPipeline>(IEnumerable<KeyValuePair<string, IPipeline>>) void