-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
7 changed files
with
96 additions
and
88 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,8 @@ | ||
# Kysect.CommonLib | ||
|
||
Kysect.CommonLib - это nuget, который содержит расширения стандартного фреймворка, которые часто приходиться писать в новых проектах. | ||
Kysect.CommonLib is a nuget that contains several extensions for the standard framework that are often written in new projects of Kysect organization. | ||
|
||
This repository contains two NuGet packages: | ||
|
||
- Kysect.CommonLib - main package that contains almost all the extensions. | ||
- Kysect.CommonLib.DependencyInjection - extension that is only applicable for configuration root projects. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,35 +1,35 @@ | ||
<Project> | ||
<!-- Default project values --> | ||
<PropertyGroup> | ||
<Authors>Kysect</Authors> | ||
<Company>Kysect</Company> | ||
<PackageIcon>Kysect-logo.png</PackageIcon> | ||
<PackageReadmeFile>README.md</PackageReadmeFile> | ||
<Copyright>Copyright (c) Kysect 2023</Copyright> | ||
<PackageLicenseExpression>MIT</PackageLicenseExpression> | ||
<RepositoryType>git</RepositoryType> | ||
</PropertyGroup> | ||
<!-- Default project values --> | ||
<PropertyGroup> | ||
<Authors>Kysect</Authors> | ||
<Company>Kysect</Company> | ||
<PackageIcon>Kysect-logo.png</PackageIcon> | ||
<PackageReadmeFile>README.md</PackageReadmeFile> | ||
<Copyright>Copyright (c) Kysect 2023</Copyright> | ||
<PackageLicenseExpression>MIT</PackageLicenseExpression> | ||
<RepositoryType>git</RepositoryType> | ||
</PropertyGroup> | ||
|
||
<!-- Specific project values --> | ||
<PropertyGroup> | ||
<RepositoryUrl>https://github.com/kysect/Kysect.CommonLib</RepositoryUrl> | ||
<PackageProjectUrl>https://github.com/kysect/Kysect.CommonLib</PackageProjectUrl> | ||
<Version>0.1.20</Version> | ||
</PropertyGroup> | ||
<!-- Specific project values --> | ||
<PropertyGroup> | ||
<RepositoryUrl>https://github.com/kysect/Kysect.CommonLib</RepositoryUrl> | ||
<PackageProjectUrl>https://github.com/kysect/Kysect.CommonLib</PackageProjectUrl> | ||
<Version>0.1.20</Version> | ||
</PropertyGroup> | ||
|
||
<!-- Code configuration --> | ||
<PropertyGroup> | ||
<LangVersion>latest</LangVersion> | ||
<ImplicitUsings>enable</ImplicitUsings> | ||
<UseArtifactsOutput>true</UseArtifactsOutput> | ||
<DebugType>portable</DebugType> | ||
<IncludeSymbols>true</IncludeSymbols> | ||
<SymbolPackageFormat>snupkg</SymbolPackageFormat> | ||
</PropertyGroup> | ||
<!-- Code configuration --> | ||
<PropertyGroup> | ||
<LangVersion>latest</LangVersion> | ||
<ImplicitUsings>enable</ImplicitUsings> | ||
<UseArtifactsOutput>true</UseArtifactsOutput> | ||
<DebugType>portable</DebugType> | ||
<IncludeSymbols>true</IncludeSymbols> | ||
<SymbolPackageFormat>snupkg</SymbolPackageFormat> | ||
</PropertyGroup> | ||
|
||
<ItemGroup> | ||
<PackageReference Include="Kysect.Editorconfig" /> | ||
<None Include="$(SolutionDir)..\Images\Kysect-logo.png" Pack="true" PackagePath="" /> | ||
<None Include="$(SolutionDir)..\README.md" Pack="true" PackagePath="" /> | ||
</ItemGroup> | ||
<ItemGroup> | ||
<PackageReference Include="Kysect.Editorconfig" /> | ||
<None Include="$(SolutionDir)..\Images\Kysect-logo.png" Pack="true" PackagePath="" /> | ||
<None Include="$(SolutionDir)..\README.md" Pack="true" PackagePath="" /> | ||
</ItemGroup> | ||
</Project> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
45 changes: 22 additions & 23 deletions
45
Sources/Kysect.CommonLib.DependencyInjection/Kysect.CommonLib.DependencyInjection.csproj
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,27 +1,26 @@ | ||
<Project Sdk="Microsoft.NET.Sdk"> | ||
<PropertyGroup> | ||
<Title>Kysect.CommonLib.DependencyInjection</Title> | ||
<Description>Common lib for Kysect projects.</Description> | ||
<TargetFramework>netstandard2.0</TargetFramework> | ||
<GeneratePackageOnBuild>True</GeneratePackageOnBuild> | ||
<IsPackable>true</IsPackable> | ||
</PropertyGroup> | ||
<PropertyGroup> | ||
<Title>Kysect.CommonLib.DependencyInjection</Title> | ||
<Description>Common lib for Kysect projects.</Description> | ||
<TargetFramework>netstandard2.0</TargetFramework> | ||
<GeneratePackageOnBuild>True</GeneratePackageOnBuild> | ||
<IsPackable>true</IsPackable> | ||
</PropertyGroup> | ||
|
||
<ItemGroup> | ||
<PackageReference Include="codeessentials.Extensions.Logging.Demystifier" /> | ||
<PackageReference Include="Lunet.Extensions.Logging.SpectreConsole" /> | ||
<PackageReference Include="Microsoft.Extensions.DependencyInjection" /> | ||
<PackageReference Include="Microsoft.Extensions.Hosting" /> | ||
<PackageReference Include="Microsoft.Extensions.Logging" /> | ||
<PackageReference Include="Microsoft.Extensions.Options" /> | ||
<PackageReference Include="Microsoft.Extensions.Options.DataAnnotations" /> | ||
<PackageReference Include="Serilog.Extensions.Logging" /> | ||
<PackageReference Include="Serilog.Settings.Configuration" /> | ||
<PackageReference Include="Serilog.Sinks.File" /> | ||
</ItemGroup> | ||
|
||
<ItemGroup> | ||
<ProjectReference Include="..\Kysect.CommonLib\Kysect.CommonLib.csproj" /> | ||
</ItemGroup> | ||
<ItemGroup> | ||
<PackageReference Include="codeessentials.Extensions.Logging.Demystifier" /> | ||
<PackageReference Include="Lunet.Extensions.Logging.SpectreConsole" /> | ||
<PackageReference Include="Microsoft.Extensions.DependencyInjection" /> | ||
<PackageReference Include="Microsoft.Extensions.Hosting" /> | ||
<PackageReference Include="Microsoft.Extensions.Logging" /> | ||
<PackageReference Include="Microsoft.Extensions.Options" /> | ||
<PackageReference Include="Microsoft.Extensions.Options.DataAnnotations" /> | ||
<PackageReference Include="Serilog.Extensions.Logging" /> | ||
<PackageReference Include="Serilog.Settings.Configuration" /> | ||
<PackageReference Include="Serilog.Sinks.File" /> | ||
</ItemGroup> | ||
|
||
<ItemGroup> | ||
<ProjectReference Include="..\Kysect.CommonLib\Kysect.CommonLib.csproj" /> | ||
</ItemGroup> | ||
</Project> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,29 +1,29 @@ | ||
<Project Sdk="Microsoft.NET.Sdk"> | ||
<PropertyGroup> | ||
<Title>Kysect.CommonLib</Title> | ||
<Description>Common lib for Kysect projects.</Description> | ||
<TargetFramework>netstandard2.0</TargetFramework> | ||
<GeneratePackageOnBuild>True</GeneratePackageOnBuild> | ||
<IsPackable>true</IsPackable> | ||
<AllowUnsafeBlocks>true</AllowUnsafeBlocks> | ||
</PropertyGroup> | ||
<PropertyGroup> | ||
<Title>Kysect.CommonLib</Title> | ||
<Description>Common lib for Kysect projects.</Description> | ||
<TargetFramework>netstandard2.0</TargetFramework> | ||
<GeneratePackageOnBuild>True</GeneratePackageOnBuild> | ||
<IsPackable>true</IsPackable> | ||
<AllowUnsafeBlocks>true</AllowUnsafeBlocks> | ||
</PropertyGroup> | ||
|
||
<ItemGroup> | ||
<PackageReference Include="IsExternalInit"> | ||
<PrivateAssets>all</PrivateAssets> | ||
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets> | ||
</PackageReference> | ||
<PackageReference Include="Microsoft.Bcl.HashCode" /> | ||
<PackageReference Include="Microsoft.Extensions.Logging.Abstractions" /> | ||
<PackageReference Include="Nullable"> | ||
<PrivateAssets>all</PrivateAssets> | ||
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets> | ||
</PackageReference> | ||
<PackageReference Include="System.Text.Json" /> | ||
<PackageReference Include="TestableIO.System.IO.Abstractions" /> | ||
<PackageReference Include="TestableIO.System.IO.Abstractions.Analyzers"> | ||
<PrivateAssets>all</PrivateAssets> | ||
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets> | ||
</PackageReference> | ||
</ItemGroup> | ||
<ItemGroup> | ||
<PackageReference Include="IsExternalInit"> | ||
<PrivateAssets>all</PrivateAssets> | ||
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets> | ||
</PackageReference> | ||
<PackageReference Include="Microsoft.Bcl.HashCode" /> | ||
<PackageReference Include="Microsoft.Extensions.Logging.Abstractions" /> | ||
<PackageReference Include="Nullable"> | ||
<PrivateAssets>all</PrivateAssets> | ||
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets> | ||
</PackageReference> | ||
<PackageReference Include="System.Text.Json" /> | ||
<PackageReference Include="TestableIO.System.IO.Abstractions" /> | ||
<PackageReference Include="TestableIO.System.IO.Abstractions.Analyzers"> | ||
<PrivateAssets>all</PrivateAssets> | ||
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets> | ||
</PackageReference> | ||
</ItemGroup> | ||
</Project> |