Skip to content

Commit

Permalink
Merge pull request #53 from ScottyMac52/removeParallelForEach
Browse files Browse the repository at this point in the history
Release 2.4.1
  • Loading branch information
ScottyMac52 authored Apr 2, 2019
2 parents 238c342 + dc45647 commit 96f4a94
Show file tree
Hide file tree
Showing 5 changed files with 104 additions and 474 deletions.
6 changes: 3 additions & 3 deletions MFDSettingsManager/Mappers/ConfigSectionModelMapper.cs
Original file line number Diff line number Diff line change
Expand Up @@ -38,9 +38,9 @@ internal static ModulesConfiguration MapFromConfigurationSection(MFDConfiguratio
logger.Info($"Loading {moduleList.Count} Modules...");
logger.Info(logSep);

Parallel.ForEach(moduleList, (currentModule, threadState, threadNumber) =>
moduleList.ForEach(currentModule =>
{
logger.Info($"Thread: {threadNumber} Loading the Module named {currentModule.DisplayName} as {currentModule.ModuleName} using {currentModule.FileName}...");
logger.Info($"Loading the Module named {currentModule.DisplayName} as {currentModule.ModuleName} using {currentModule.FileName}...");
var modelModule = ConvertFromConfigSectionModule(moduleConfigurations, currentModule);

// Add the Configurations
Expand Down Expand Up @@ -86,7 +86,7 @@ internal static ModulesConfiguration MapFromConfigurationSection(MFDConfiguratio
}
});

logger.Info($"Thread: {threadNumber} Loaded Module named {modelModule.DisplayName} as {modelModule.ModuleName} with {modelModule.Configurations.Count} Configurations.");
logger.Info($"Loaded Module named {modelModule.DisplayName} as {modelModule.ModuleName} with {modelModule.Configurations.Count} Configurations.");
logger.Info(logSep);
moduleConfigurations.Modules.Add(modelModule);
});
Expand Down
4 changes: 2 additions & 2 deletions MFDSettingsManager/Properties/AssemblyInfo.cs
Original file line number Diff line number Diff line change
Expand Up @@ -31,5 +31,5 @@
// You can specify all the values or you can default the Build and Revision Numbers
// by using the '*' as shown below:
// [assembly: AssemblyVersion("1.0.*")]
[assembly: AssemblyVersion("2.4.0.0")]
[assembly: AssemblyFileVersion("2.4.0.0")]
[assembly: AssemblyVersion("2.4.1.0")]
[assembly: AssemblyFileVersion("2.4.1.0")]
2 changes: 1 addition & 1 deletion MFDisplay/MFDisplay.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -308,7 +308,7 @@
<None Include="MFDisplay_TemporaryKey.pfx" />
<Content Include="mfdsettings.config">
<SubType>Designer</SubType>
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
</Content>
<None Include="packages.config">
<SubType>Designer</SubType>
Expand Down
4 changes: 2 additions & 2 deletions MFDisplay/Properties/AssemblyInfo.cs
Original file line number Diff line number Diff line change
Expand Up @@ -51,5 +51,5 @@
// You can specify all the values or you can default the Build and Revision Numbers
// by using the '*' as shown below:
// [assembly: AssemblyVersion("1.0.*")]
[assembly: AssemblyVersion("2.4.0.0")]
[assembly: AssemblyFileVersion("2.4.0.0")]
[assembly: AssemblyVersion("2.4.1.0")]
[assembly: AssemblyFileVersion("2.4.1.0")]
Loading

0 comments on commit 96f4a94

Please sign in to comment.