Summary
A collection of optionally named modules. Implementations should "unwrap"
Wyam.Common.Modules.NamedModule
objects to obtain the module name.
- Assembly
- Wyam
.Common .dll - Namespace
- Wyam
.Common .Modules - Interfaces
-
- IList
<IModule>
- IList
- Implementing Types
-
- Less
- GroupBy
- GroupByMany
- ApiSearchIndex
- ForEach
- ModuleList
- ContainerModule
- Archive
- RenderPages
- Redirects
- ModuleCollection
- Concat
- FrontMatter
- BlogPosts
- Pipeline
- Branch
- ApiIndex
- IfCondition
- IPipeline
- RenderApi
- RenderBlogPosts
- Paginate
- Sass
- Api
- Merge
- Resources
- Sitemap
- Sidecar
- ConcatBranch
- ValidateLinks
- ConditionalPipeline
- TagIndex
- Code
- Feeds
- Pages
graph BT
Type-.->Interface0["IList<IModule>"]
Type["IModuleList"]
class Type type-node
Implementing0["Less"]-.->Type
click Implementing0 "/api/Wyam.Web.Pipelines/Less"
Implementing1["GroupBy"]-.->Type
click Implementing1 "/api/Wyam.Core.Modules.Control/GroupBy"
Implementing2["GroupByMany"]-.->Type
click Implementing2 "/api/Wyam.Core.Modules.Control/GroupByMany"
Implementing3["ApiSearchIndex"]-.->Type
click Implementing3 "/api/Wyam.Docs.Pipelines/ApiSearchIndex"
Implementing4["ForEach"]-.->Type
click Implementing4 "/api/Wyam.Core.Modules.Control/ForEach"
Implementing5["ModuleList"]-.->Type
click Implementing5 "/api/Wyam.Common.Modules/ModuleList"
Implementing6["ContainerModule"]-.->Type
click Implementing6 "/api/Wyam.Common.Modules/ContainerModule"
Implementing7["Archive"]-.->Type
click Implementing7 "/api/Wyam.Web.Pipelines/Archive"
Implementing8["RenderPages"]-.->Type
click Implementing8 "/api/Wyam.Web.Pipelines/RenderPages"
Implementing9["Redirects"]-.->Type
click Implementing9 "/api/Wyam.Web.Pipelines/Redirects"
Implementing10["ModuleCollection"]-.->Type
click Implementing10 "/api/Wyam.Core.Modules.Extensibility/ModuleCollection"
Implementing11["Concat"]-.->Type
click Implementing11 "/api/Wyam.Core.Modules.Control/Concat"
Implementing12["FrontMatter"]-.->Type
click Implementing12 "/api/Wyam.Core.Modules.Control/FrontMatter"
Implementing13["BlogPosts"]-.->Type
click Implementing13 "/api/Wyam.Web.Pipelines/BlogPosts"
Implementing14["Pipeline"]-.->Type
click Implementing14 "/api/Wyam.Common.Execution/Pipeline"
Implementing15["Branch"]-.->Type
click Implementing15 "/api/Wyam.Core.Modules.Control/Branch"
Implementing16["ApiIndex"]-.->Type
click Implementing16 "/api/Wyam.Docs.Pipelines/ApiIndex"
Implementing17["IfCondition"]-.->Type
click Implementing17 "/api/Wyam.Core.Modules.Control/IfCondition"
Implementing18["IPipeline"]-.->Type
click Implementing18 "/api/Wyam.Common.Execution/IPipeline"
Implementing19["RenderApi"]-.->Type
click Implementing19 "/api/Wyam.Docs.Pipelines/RenderApi"
Implementing20["RenderBlogPosts"]-.->Type
click Implementing20 "/api/Wyam.Web.Pipelines/RenderBlogPosts"
Implementing21["Paginate"]-.->Type
click Implementing21 "/api/Wyam.Core.Modules.Control/Paginate"
Implementing22["Sass"]-.->Type
click Implementing22 "/api/Wyam.Web.Pipelines/Sass"
Implementing23["Api"]-.->Type
click Implementing23 "/api/Wyam.Docs.Pipelines/Api"
Implementing24["Merge"]-.->Type
click Implementing24 "/api/Wyam.Core.Modules.Control/Merge"
Implementing25["Resources"]-.->Type
click Implementing25 "/api/Wyam.Web.Pipelines/Resources"
Implementing26["Sitemap"]-.->Type
click Implementing26 "/api/Wyam.Web.Pipelines/Sitemap"
Implementing27["Sidecar"]-.->Type
click Implementing27 "/api/Wyam.Core.Modules.Control/Sidecar"
Implementing28["ConcatBranch"]-.->Type
click Implementing28 "/api/Wyam.Core.Modules.Control/ConcatBranch"
Implementing29["ValidateLinks"]-.->Type
click Implementing29 "/api/Wyam.Web.Pipelines/ValidateLinks"
Implementing30["ConditionalPipeline"]-.->Type
click Implementing30 "/api/Wyam.Web.Pipelines/ConditionalPipeline"
Implementing31["TagIndex"]-.->Type
click Implementing31 "/api/Wyam.Blog.Pipelines/TagIndex"
Implementing32["Code"]-.->Type
click Implementing32 "/api/Wyam.Docs.Pipelines/Code"
Implementing33["Feeds"]-.->Type
click Implementing33 "/api/Wyam.Web.Pipelines/Feeds"
Implementing34["Pages"]-.->Type
click Implementing34 "/api/Wyam.Web.Pipelines/Pages"
Syntax
public interface IModuleList : IList<IModule>
Properties
Name | Value | Summary |
---|---|---|
this[string] | IModule |
Gets the module with the specified name.
|
Methods
Name | Value | Summary |
---|---|---|
Add |
void |
Adds modules to the list.
Any
null items in the sequence of modules will be discarded.
|
Add |
void |
Adds a module to the list with a specified name.
|
AsKeyValuePairs |
IEnumerable |
Returns the list as a sequence of key-value pairs with the keys being
the module names and the values being the module instances.
|
Contains |
bool |
Determines if the list contains a module with the specified name.
|
IndexOf |
int |
Gets the index of the module with the specified name.
|
Insert |
void |
Inserts modules into the list.
Any
null items in the sequence of modules will be discarded.
|
Insert |
void |
Inserts a module into the list with a specified name.
|
Remove |
bool |
Removes a module by name.
|
TryGetValue |
bool |
Attempts to get a module with the specified name.
|
Extension Methods
Name | Value | Summary |
---|---|---|
Append |
TModuleList |
Appends modules.
From ModuleListExtensions
|
Append |
TModuleList |
Appends a named module.
From ModuleListExtensions
|
GetFirst |
TModule |
Gets the first module of the specified type.
From ModuleListExtensions
|
GetFirst |
TModule |
Gets the first module of the specified type.
From ModuleListExtensions
|
GetLast |
TModule |
Gets the last module of the specified type.
From ModuleListExtensions
|
GetLast |
TModule |
Gets the last module of the specified type.
From ModuleListExtensions
|
IndexOfFirst |
int |
Gets the index of the first module of the specified type.
From ModuleListExtensions
|
IndexOfFirst |
int |
Gets the index of the first module of the specified type.
From ModuleListExtensions
|
IndexOfLast |
int |
Gets the index of the last module of the specified type.
From ModuleListExtensions
|
IndexOfLast |
int |
Gets the index of the last module of the specified type.
From ModuleListExtensions
|
InsertAfter |
TModuleList |
Inserts modules after the module with the specified name.
From ModuleListExtensions
|
InsertAfter |
TModuleList |
Inserts modules after the module with the specified name.
From ModuleListExtensions
|
InsertAfterFirst |
IModuleList |
Inserts modules after the first module in the list of the specified type.
From ModuleListExtensions
|
InsertAfterFirst |
IModuleList |
Inserts modules after the first module in the list of the specified type that satisfies a predicate.
From ModuleListExtensions
|
InsertAfterFirst |
IModuleList |
Inserts modules after the first module in the list of the specified type that satisfies a predicate.
From ModuleListExtensions
|
InsertAfterFirst |
IModuleList |
Inserts modules after the first module in the list of the specified type.
From ModuleListExtensions
|
InsertAfterLast |
IModuleList |
Inserts modules after the last module in the list of the specified type.
From ModuleListExtensions
|
InsertAfterLast |
IModuleList |
Inserts modules after the last module in the list of the specified type that satisfies a predicate.
From ModuleListExtensions
|
InsertAfterLast |
IModuleList |
Inserts modules after the last module in the list of the specified type that satisfies a predicate.
From ModuleListExtensions
|
InsertAfterLast |
IModuleList |
Inserts modules after the last module in the list of the specified type.
From ModuleListExtensions
|
InsertBefore |
TModuleList |
Inserts modules before the module with the specified name.
From ModuleListExtensions
|
InsertBefore |
TModuleList |
Inserts modules before the module with the specified name.
From ModuleListExtensions
|
InsertBeforeFirst |
IModuleList |
Inserts modules before the first module in the list of the specified type.
From ModuleListExtensions
|
InsertBeforeFirst |
IModuleList |
Inserts modules before the first module in the list of the specified type that satisfies a predicate.
From ModuleListExtensions
|
InsertBeforeFirst |
IModuleList |
Inserts modules before the first module in the list of the specified type that satisfies a predicate.
From ModuleListExtensions
|
InsertBeforeFirst |
IModuleList |
Inserts modules before the first module in the list of the specified type.
From ModuleListExtensions
|
InsertBeforeLast |
IModuleList |
Inserts modules before the last module in the list of the specified type.
From ModuleListExtensions
|
InsertBeforeLast |
IModuleList |
Inserts modules before the last module in the list of the specified type that satisfies a predicate.
From ModuleListExtensions
|
InsertBeforeLast |
IModuleList |
Inserts modules before the last module in the list of the specified type that satisfies a predicate.
From ModuleListExtensions
|
InsertBeforeLast |
IModuleList |
Inserts modules before the last module in the list of the specified type.
From ModuleListExtensions
|
Modify |
TModuleList |
Modifies an inner module list with the specified index.
From ModuleListExtensions
|
Modify |
TModuleList |
Modifies an inner module with the specified name.
From ModuleListExtensions
|
Prepend |
TModuleList |
Prepends modules.
From ModuleListExtensions
|
Prepend |
TModuleList |
Prepends a named module.
From ModuleListExtensions
|
Replace |
TModuleList |
Replaces a module at the specified index.
From ModuleListExtensions
|
Replace |
TModuleList |
Replaces a module with the specified name. The replacement module will have the same name
as the module being replaced unless an alternate name is specified.
From ModuleListExtensions
|
ReplaceFirst |
IModuleList |
Replaces the first module in the list of the specified type.
From ModuleListExtensions
|
ReplaceFirst |
IModuleList |
Replaces the first module in the list of the specified type that satisfies a predicate.
From ModuleListExtensions
|
ReplaceLast |
IModuleList |
Replaces the last module in the list of the specified type.
From ModuleListExtensions
|
ReplaceLast |
IModuleList |
Replaces the last module in the list of the specified type that satisfies a predicate.
From ModuleListExtensions
|