Cambio nome metodo x evitare sovrapposizione

This commit is contained in:
Samuele E. Locatelli
2020-03-12 11:35:27 +01:00
parent 2adb051989
commit 2b22bc7fad
3 changed files with 3 additions and 3 deletions
@@ -46,7 +46,7 @@
</Compile>
<Compile Include="Properties\AssemblyInfo.cs" />
<Compile Include="SchedulerService.cs" />
<Compile Include="TaskScheduler.cs" />
<Compile Include="TaskSched.cs" />
</ItemGroup>
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
</Project>
@@ -2,7 +2,7 @@
namespace Steamware.Scheduler
{
public static class TaskScheduler
public static class TaskSched
{
public static void IntervalInSeconds(int hour, int sec, double interval, Action task)
{
+1 -1
View File
@@ -123,7 +123,7 @@ namespace TestBench
// calcolo
double intSecondi = ore * 60 * 60 + min * 60 + sec;
TaskScheduler.IntervalInSeconds(avvio.Hour, avvio.Minute, intSecondi,
TaskSched.IntervalInSeconds(avvio.Hour, avvio.Minute, intSecondi,
() =>
{
DateTime adesso = DateTime.Now;