Skip to content

Commit

Permalink
Update readme
Browse files Browse the repository at this point in the history
Update dependencies
  • Loading branch information
NikolayPianikov authored and NikolayPianikov committed Sep 20, 2019
1 parent 9433899 commit 261ac00
Show file tree
Hide file tree
Showing 18 changed files with 118 additions and 309 deletions.
Binary file added Docs/Images/cat-is-alive.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion Docs/IoC_net40.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion Docs/IoC_net45.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion Docs/IoC_net48.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion Docs/IoC_netcoreapp1.0.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion Docs/IoC_netcoreapp2.2.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion Docs/IoC_netcoreapp3.0.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion Docs/IoC_netstandard1.0.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion Docs/IoC_netstandard2.0.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

17 changes: 7 additions & 10 deletions IoC.Comparison/IoC.Comparison.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -7,11 +7,13 @@
<WarningsAsErrors />
</PropertyGroup>
<ItemGroup>
<ProjectReference Include="..\IoC\IoC.csproj" />
<PackageReference Include="JetBrains.dotMemoryUnit" Version="3.0.20171219.105559" />
<PackageReference Include="Shouldly" Version="3.0.2" />
<PackageReference Include="System.ValueTuple" Version="4.5.0" />
<PackageReference Include="Unity" Version="5.10.3" />
<PackageReference Include="xunit.runner.visualstudio" Version="2.4.1" />
<PackageReference Include="DryIoc.dll" Version="4.0.7" />
</ItemGroup>
<Choose>
<When Condition="'$(TargetFramework)'=='net40'">
Expand All @@ -22,25 +24,20 @@
<PackageReference Include="Ninject" Version="3.2.2.0" />
<PackageReference Include="Castle.Windsor" Version="3.4.0" />
<PackageReference Include="xunit" Version="1.9.2" />
<PackageReference Include="DryIoc.dll" Version="4.0.0" />
</ItemGroup>
</ItemGroup>
</When>
<Otherwise>
<ItemGroup>
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="16.0.1" />
<PackageReference Include="Autofac" Version="4.9.1" />
<PackageReference Include="LightInject" Version="5.4.0" />
<PackageReference Include="Moq" Version="4.10.1" />
<PackageReference Include="Autofac" Version="4.9.4" />
<PackageReference Include="LightInject" Version="6.1.0" />
<PackageReference Include="Moq" Version="4.13.0" />
<PackageReference Include="Ninject" Version="3.3.4" />
<PackageReference Include="Castle.Windsor" Version="5.0.0" />
<PackageReference Include="Castle.Windsor" Version="5.0.1" />
<PackageReference Include="xunit" Version="2.4.1" />
<PackageReference Include="DryIoc.dll" Version="4.0.3" />
</ItemGroup>
</Otherwise>
</Choose>
<ItemGroup>
<ProjectReference Include="..\IoC\IoC.csproj" />
</ItemGroup>
<ItemGroup Condition="'$(TargetFramework)' == 'netcoreapp3.0'">
<PackageReference Include="System.Reflection.Emit">
<Version>4.3.0</Version>
Expand Down
2 changes: 1 addition & 1 deletion IoC/Fluent.cs
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ public static IContainer Create([NotNull] this IContainer parentContainer, [NotN
}

/// <summary>
/// Buildups an instance.
/// Buildups an instance which was not registered in container. Can be used as entry point of DI.
/// </summary>
/// <param name="configuration">The configurations.</param>
/// <param name="args">The optional arguments.</param>
Expand Down
8 changes: 4 additions & 4 deletions IoC/README_TEMPLATE.tt
Original file line number Diff line number Diff line change
Expand Up @@ -127,21 +127,21 @@
}

var readmeHeaderFile = Path.Combine(solutionPath, "README_HEADER.md");
var readmeFeaturesFile = Path.Combine(solutionPath, "README_FEATURES.md");
var readmeBodyFile = Path.Combine(solutionPath, "README_BODY.md");
var readmeFeaturesFile = Path.Combine(solutionPath, "README_FEATURES.md");
var readmeFooterFile = Path.Combine(solutionPath, "README_FOOTER.md");
var readmeFile = Path.Combine(solutionPath, "README.md");
var samplesFile = Path.Combine(currentPath, "README_TEMPLATE.md");
var nugetReadmeFile = Path.Combine(solutionPath, "README_NUGET.md");

File.Copy(readmeHeaderFile, readmeFile, true);

var featuresContent = File.ReadAllText(readmeFeaturesFile);
File.AppendAllText(readmeFile, featuresContent);

var bodyContent = File.ReadAllText(readmeBodyFile);
File.AppendAllText(readmeFile, bodyContent);

var featuresContent = File.ReadAllText(readmeFeaturesFile);
File.AppendAllText(readmeFile, featuresContent);

var samplesContent = File.ReadAllText(samplesFile);
File.AppendAllText(readmeFile, samplesContent);

Expand Down
Loading

0 comments on commit 261ac00

Please sign in to comment.