TestPipelineCollection Class
Namespace
Statiq.Testing
Interfaces
Base Types
  • object
TestPipelineCollection
object
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

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