Beispiel #1
0
 /// <summary>
 /// Register all commands from a given namespace and its children namespaces.
 /// </summary>
 /// <param name="container">The container in which the command will be registered.</param>
 /// <param name="namespaceName">Namespace name.</param>
 /// <returns>The injection container for chaining.</returns>
 public static IInjectionContainer RegisterCommands(this IInjectionContainer container, string namespaceName)
 {
     container.RegisterCommands(namespaceName, true);
     return(container);
 }