Skip to content

Commit a98a027

Browse files
committed
Extract TaskFlow.Extensions.Time
1 parent 7a9160c commit a98a027

4 files changed

Lines changed: 100 additions & 7 deletions

File tree

‎TaskFlow.Extensions.Microsoft.DependencyInjection/TaskFlow.Extensions.Microsoft.DependencyInjection.csproj‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<Project Sdk="Microsoft.NET.Sdk">
22
<PropertyGroup>
3-
<LangVersion>10</LangVersion>
3+
<LangVersion>12</LangVersion>
44
<TargetFrameworks>netstandard2.0;net6.0;net8.0</TargetFrameworks>
55
<Nullable>enable</Nullable>
66
<TreatWarningsAsErrors>True</TreatWarningsAsErrors>
Lines changed: 86 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,86 @@
1+
<Project Sdk="Microsoft.NET.Sdk">
2+
<PropertyGroup>
3+
<LangVersion>12</LangVersion>
4+
<TargetFrameworks>netstandard2.0;net6.0</TargetFrameworks>
5+
<Nullable>enable</Nullable>
6+
<TreatWarningsAsErrors>True</TreatWarningsAsErrors>
7+
<Deterministic>true</Deterministic>
8+
<RootNamespace>System.Threading.Tasks.Flow</RootNamespace>
9+
</PropertyGroup>
10+
11+
<PropertyGroup>
12+
<PackageId>TaskFlow.Extensions.Time</PackageId>
13+
<Version>1.0.0-rc3</Version>
14+
<Authors>Volodymyr Dombrovskyi</Authors>
15+
<Copyright>Copyright (c) 2023 Volodymyr Dombrovskyi</Copyright>
16+
<PackageTags>TODO</PackageTags>
17+
<Description>TODO</Description>
18+
<RepositoryUrl>https://github.com/dombrovsky/TaskFlow.git</RepositoryUrl>
19+
<RepositoryType>git</RepositoryType>
20+
<PackageProjectUrl>https://dombrovsky.github.io/TaskFlow</PackageProjectUrl>
21+
<PackageLicenseFile>LICENSE</PackageLicenseFile>
22+
<PackageReadmeFile>README.md</PackageReadmeFile>
23+
24+
<GeneratePackageOnBuild>true</GeneratePackageOnBuild>
25+
<PublishRepositoryUrl>true</PublishRepositoryUrl>
26+
<IncludeSymbols>true</IncludeSymbols>
27+
<SymbolPackageFormat>snupkg</SymbolPackageFormat>
28+
<EmbedUntrackedSources>true</EmbedUntrackedSources>
29+
</PropertyGroup>
30+
31+
<PropertyGroup Condition="'$(GITHUB_ACTIONS)' == 'true'">
32+
<ContinuousIntegrationBuild>true</ContinuousIntegrationBuild>
33+
</PropertyGroup>
34+
35+
<PropertyGroup>
36+
<RunCodeAnalysis>false</RunCodeAnalysis>
37+
<EnableNETAnalyzers>true</EnableNETAnalyzers>
38+
<AnalysisLevel>latest</AnalysisLevel>
39+
<AnalysisMode>AllEnabledByDefault</AnalysisMode>
40+
<EnforceCodeStyleInBuild>false</EnforceCodeStyleInBuild>
41+
<CodeAnalysisTreatWarningsAsErrors>true</CodeAnalysisTreatWarningsAsErrors>
42+
<SignAssembly>True</SignAssembly>
43+
<AssemblyOriginatorKeyFile>$(MSBuildThisFileDirectory)..\TaskFlow.snk</AssemblyOriginatorKeyFile>
44+
</PropertyGroup>
45+
46+
<ItemGroup>
47+
<AssemblyAttribute Include="System.CLSCompliant">
48+
<_Parameter1>true</_Parameter1>
49+
<_Parameter1_TypeName>System.Boolean</_Parameter1_TypeName>
50+
</AssemblyAttribute>
51+
<AssemblyAttribute Include="System.Runtime.CompilerServices.InternalsVisibleTo">
52+
<_Parameter1>
53+
$(AssemblyName).Tests, PublicKey=002400000480000094000000060200000024000052534131000400000100010019048320f9788f50a6b96919219d35d14047ed0202e32cd3e19bb1d28de1a43a7f2527998078d2d6dbe4b38f16e377d0da9edb6708dcd4c880a765abf40eb940b97827a05295acf2694a990fbaf532a537223ab8d3b3f576e29403e286d30e115a6b5c72b9a8118db4828a1ac78e4a583bbdcf0589b5aafc830218de1bd9b8c4
54+
</_Parameter1>
55+
</AssemblyAttribute>
56+
</ItemGroup>
57+
58+
<ItemGroup>
59+
<PackageReference Include="Microsoft.Bcl.TimeProvider" Version="8.0.0" />
60+
</ItemGroup>
61+
62+
<ItemGroup>
63+
<Compile Include="..\TaskFlow\Extensions\ThrottlingTaskSchedulerExtensions.cs" Link="ThrottlingTaskSchedulerExtensions.cs" />
64+
</ItemGroup>
65+
66+
<ItemGroup>
67+
<PackageReference Include="IsExternalInit" Version="1.0.3">
68+
<PrivateAssets>all</PrivateAssets>
69+
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
70+
</PackageReference>
71+
<PackageReference Include="JetBrains.Annotations" Version="2022.3.1" PrivateAssets="All" />
72+
<PackageReference Include="Microsoft.SourceLink.GitHub" Version="1.1.1" PrivateAssets="All" />
73+
</ItemGroup>
74+
75+
<ItemGroup>
76+
<None Include="..\LICENSE" Pack="true" PackagePath="\" />
77+
<None Include="..\README.md" Pack="true" PackagePath="\" />
78+
</ItemGroup>
79+
80+
<ItemGroup>
81+
<ProjectReference Include="..\TaskFlow\TaskFlow.csproj" />
82+
</ItemGroup>
83+
84+
<Import Project="..\TaskFlow.Annotations\TaskFlow.Annotations.projitems" Label="Shared" />
85+
86+
</Project>

‎TaskFlow.sln‎

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,8 @@ Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "TaskFlow.Extensions.Microso
1313
EndProject
1414
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "TaskFlow.Extensions.Microsoft.DependencyInjection.Tests", "TaskFlow.Extensions.Microsoft.DependencyInjection.Tests\TaskFlow.Extensions.Microsoft.DependencyInjection.Tests.csproj", "{7B2D44B2-52A7-4029-BE51-B0781949F766}"
1515
EndProject
16+
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "TaskFlow.Extensions.Time", "TaskFlow.Extensions.Time\TaskFlow.Extensions.Time.csproj", "{DD1D5309-B058-4563-8BB3-96B93AB7731F}"
17+
EndProject
1618
Global
1719
GlobalSection(SolutionConfigurationPlatforms) = preSolution
1820
Debug|Any CPU = Debug|Any CPU
@@ -35,6 +37,10 @@ Global
3537
{7B2D44B2-52A7-4029-BE51-B0781949F766}.Debug|Any CPU.Build.0 = Debug|Any CPU
3638
{7B2D44B2-52A7-4029-BE51-B0781949F766}.Release|Any CPU.ActiveCfg = Release|Any CPU
3739
{7B2D44B2-52A7-4029-BE51-B0781949F766}.Release|Any CPU.Build.0 = Release|Any CPU
40+
{DD1D5309-B058-4563-8BB3-96B93AB7731F}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
41+
{DD1D5309-B058-4563-8BB3-96B93AB7731F}.Debug|Any CPU.Build.0 = Debug|Any CPU
42+
{DD1D5309-B058-4563-8BB3-96B93AB7731F}.Release|Any CPU.ActiveCfg = Release|Any CPU
43+
{DD1D5309-B058-4563-8BB3-96B93AB7731F}.Release|Any CPU.Build.0 = Release|Any CPU
3844
EndGlobalSection
3945
GlobalSection(SolutionProperties) = preSolution
4046
HideSolutionNode = FALSE
@@ -46,5 +52,6 @@ Global
4652
TaskFlow.Annotations\TaskFlow.Annotations.projitems*{38b4a885-e50e-4339-91f6-b07976dce941}*SharedItemsImports = 5
4753
TaskFlow.Annotations\TaskFlow.Annotations.projitems*{7b846a17-1146-4bf1-9e01-81aafb097a02}*SharedItemsImports = 5
4854
TaskFlow.Annotations\TaskFlow.Annotations.projitems*{b9a7fa49-0771-408d-82cf-42ea7ebe0f31}*SharedItemsImports = 13
55+
TaskFlow.Annotations\TaskFlow.Annotations.projitems*{dd1d5309-b058-4563-8bb3-96b93ab7731f}*SharedItemsImports = 5
4956
EndGlobalSection
5057
EndGlobal

‎TaskFlow/TaskFlow.csproj‎

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<Project Sdk="Microsoft.NET.Sdk">
22
<PropertyGroup>
3-
<LangVersion>10</LangVersion>
3+
<LangVersion>12</LangVersion>
44
<TargetFrameworks>netstandard2.0;net6.0;net8.0</TargetFrameworks>
55
<Nullable>enable</Nullable>
66
<TreatWarningsAsErrors>True</TreatWarningsAsErrors>
@@ -56,13 +56,13 @@
5656
</ItemGroup>
5757

5858
<ItemGroup Condition="'$(TargetFramework)' == 'netstandard2.0'">
59-
<PackageReference Include="Microsoft.Bcl.AsyncInterfaces" Version="8.0.0" />
60-
<PackageReference Include="System.Threading.Tasks.Extensions" Version="4.5.4" />
61-
<PackageReference Include="Microsoft.Bcl.TimeProvider" Version="8.0.0" />
59+
<PackageReference Include="Microsoft.Bcl.AsyncInterfaces" Version="1.0.0" />
60+
<PackageReference Include="System.Threading.Tasks.Extensions" Version="4.5.2" />
61+
<Compile Remove="Extensions\ThrottlingTaskSchedulerExtensions.cs" />
6262
</ItemGroup>
6363

6464
<ItemGroup Condition="'$(TargetFramework)' == 'net6.0'">
65-
<PackageReference Include="Microsoft.Bcl.TimeProvider" Version="8.0.1" />
65+
<Compile Remove="Extensions\ThrottlingTaskSchedulerExtensions.cs" />
6666
</ItemGroup>
6767

6868
<ItemGroup>
@@ -74,7 +74,7 @@
7474
<PackageReference Include="Microsoft.SourceLink.GitHub" Version="1.1.1" PrivateAssets="All" />
7575
</ItemGroup>
7676

77-
<ItemGroup>
77+
<ItemGroup>
7878
<None Include="..\LICENSE" Pack="true" PackagePath="\" />
7979
<None Include="..\README.md" Pack="true" PackagePath="\" />
8080
</ItemGroup>

0 commit comments

Comments
 (0)