optionalDependency
Retrieves a module of type M from the dependency graph. This method can be used in the ConfigurationBuilder.module scope to access other modules that are already registered in the graph.
Return
The optional module instance of type M if it was previously registered.
Parameters
identifier
An optional identifier key associated with the instance built via ConfigurationBuilder.module.