/// <summary>
 /// Ands the module types.
 /// </summary>
 /// <param name="moduleTypeList">The module type list.</param>
 /// <param name="types">The types.</param>
 /// <returns></returns>
 public static ModuleTypeList AndModuleTypes(this ModuleTypeList moduleTypeList, params Type[] types)
 {
     moduleTypeList.AddRange(types);
     return(moduleTypeList);
 }
예제 #2
0
 /// <summary>
 /// Adds types to the <see cref="ModuleTypeList"/>
 /// </summary>
 /// <param name="moduleTypeList">The module type list.</param>
 /// <param name="types">The types.</param>
 /// <returns>The original <see cref="ModuleTypeList"/></returns>
 public static ModuleTypeList AndModuleTypes(this ModuleTypeList moduleTypeList, params Type[] types)
 {
     _ = moduleTypeList ?? throw new ArgumentNullException(nameof(moduleTypeList));
     moduleTypeList.AddRange(types);
     return(moduleTypeList);
 }