Summary
A collection of optionally named modules.
- Assembly
- Wyam
.Core .dll - Namespace
- Wyam
.Core .Modules .Control - Interfaces
-
- IModuleList
- IList
<IModule>
- Base Types
-
- Object
- ModuleList
graph BT
Type-->Base0["ModuleList"]
click Base0 "/api/Wyam.Common.Modules/ModuleList"
Base0-->Base1["Object"]
Type-.->Interface0["IModuleList"]
click Interface0 "/api/Wyam.Common.Modules/IModuleList"
Type-.->Interface1["IList<IModule>"]
Type["IfCondition"]
class Type type-node
Syntax
public class IfCondition : ModuleList, IModuleList, IList<IModule>
Properties
Name | Value | Summary |
---|---|---|
ContextConfig | ContextConfig | |
Count | int |
Inherited from ModuleList
|
DocumentConfig | DocumentConfig | |
IsFinalElse | bool | |
IsReadOnly | bool |
Inherited from ModuleList
|
this[int] | IModule |
Inherited from ModuleList
|
this[string] | IModule |
Gets the module with the specified name.
Inherited from ModuleList
|
Methods
Name | Value | Summary |
---|---|---|
Add |
void |
Inherited from ModuleList
|
Add |
void |
Adds modules to the list.
Any
null items in the sequence of modules will be discarded.
Inherited from ModuleList
|
Add |
void |
Adds a module to the list with a specified name.
Inherited from ModuleList
|
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.
Inherited from ModuleList
|
Clear |
void |
Inherited from ModuleList
|
Contains |
bool |
Inherited from ModuleList
|
Contains |
bool |
Determines if the list contains a module with the specified name.
Inherited from ModuleList
|
CopyTo |
void |
Inherited from ModuleList
|
GetEnumerator |
IEnumerator |
Inherited from ModuleList
|
IndexOf |
int |
Inherited from ModuleList
|
IndexOf |
int |
Gets the index of the module with the specified name.
Inherited from ModuleList
|
Insert |
void |
Inherited from ModuleList
|
Insert |
void |
Inserts modules into the list.
Any
null items in the sequence of modules will be discarded.
Inherited from ModuleList
|
Insert |
void |
Inserts a module into the list with a specified name.
Inherited from ModuleList
|
Remove |
bool |
Inherited from ModuleList
|
Remove |
bool |
Removes a module by name.
Inherited from ModuleList
|
RemoveAt |
void |
Inherited from ModuleList
|
TryGetValue |
bool |
Attempts to get a module with the specified name.
Inherited from ModuleList
|