IReadOnlyModuleList.

TryGetValue(string, IModule) Method

Summary

Attempts to get a module with a given name.
Assembly
Wyam.Common.dll
Namespace
Wyam.Common.Modules
Containing Type
IReadOnlyModuleList

Syntax

bool TryGetValue(string name, out IModule value)

Parameters

Name Type Description
name string The name of the module.
value IModule The module instance.

Return Value

Type Description
bool true if a module with the given name exists in the list, false otherwise.
GitHub