Skip to content

Commit 8c2c6b2

Browse files
update .net all nuget packages
1 parent 568c20e commit 8c2c6b2

File tree

286 files changed

+9619
-9758
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

286 files changed

+9619
-9758
lines changed

GenerateLoadTestProjects/GenerateLoadTestProjects.csproj

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
<PropertyGroup>
44
<OutputType>Exe</OutputType>
5-
<TargetFramework>netcoreapp2.0</TargetFramework>
5+
<TargetFramework>netcoreapp2.0</TargetFramework>
66
</PropertyGroup>
77

88
<Import Project="..\SharedAssemblyInfo.targets" />
@@ -11,4 +11,11 @@
1111
<None Include="..\AutomateThePlanet.licenseheader" Link="AutomateThePlanet.licenseheader" />
1212
</ItemGroup>
1313

14+
<ItemGroup>
15+
<PackageReference Update="Microsoft.CodeAnalysis.FxCopAnalyzers" Version="3.3.2">
16+
<PrivateAssets>all</PrivateAssets>
17+
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
18+
</PackageReference>
19+
</ItemGroup>
20+
1421
</Project>

GenerateLoadTestProjects/Program.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
// <copyright file="Program.cs" company="Automate The Planet Ltd.">
2-
// Copyright 2018 Automate The Planet Ltd.
2+
// Copyright 2024 Automate The Planet Ltd.
33
// Licensed under the Apache License, Version 2.0 (the "License");
44
// You may not use this file except in compliance with the License.
55
// You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0
Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
// <copyright file="IAssemblyProvider.cs" company="Automate The Planet Ltd.">
2-
// Copyright 2020 Automate The Planet Ltd.
2+
// Copyright 2024 Automate The Planet Ltd.
33
// Licensed under the Apache License, Version 2.0 (the "License");
44
// You may not use this file except in compliance with the License.
55
// You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0
@@ -13,10 +13,9 @@
1313
// <site>https://bellatrix.solutions/</site>
1414
using System.Reflection;
1515

16-
namespace Meissa.Core.Contracts
16+
namespace Meissa.Core.Contracts;
17+
18+
public interface IAssemblyProvider
1719
{
18-
public interface IAssemblyProvider
19-
{
20-
Assembly LoadFile(string path);
21-
}
20+
Assembly LoadFile(string path);
2221
}
Lines changed: 11 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
// <copyright file="IConsoleArgumentsProvider.cs" company="Automate The Planet Ltd.">
2-
// Copyright 2020 Automate The Planet Ltd.
2+
// Copyright 2024 Automate The Planet Ltd.
33
// Licensed under the Apache License, Version 2.0 (the "License");
44
// You may not use this file except in compliance with the License.
55
// You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0
@@ -11,22 +11,21 @@
1111
// </copyright>
1212
// <author>Anton Angelov</author>
1313
// <site>https://bellatrix.solutions/</site>
14-
namespace Meissa.Core.Contracts
14+
namespace Meissa.Core.Contracts;
15+
16+
public interface IConsoleArgumentsProvider
1517
{
16-
public interface IConsoleArgumentsProvider
17-
{
18-
string GetTestResultsPath(string[] arguments);
18+
string GetTestResultsPath(string[] arguments);
1919

20-
string GetTestAssemblyPath(string[] arguments);
20+
string GetTestAssemblyPath(string[] arguments);
2121

22-
string GetTestCategories(string[] arguments);
22+
string GetTestCategories(string[] arguments);
2323

24-
string GetOriginalOutputFilesLocation(string[] arguments);
24+
string GetOriginalOutputFilesLocation(string[] arguments);
2525

26-
string GetSharedOutputFilesLocation(string[] arguments);
26+
string GetSharedOutputFilesLocation(string[] arguments);
2727

28-
string GetResultsOutputLocation(string[] arguments);
28+
string GetResultsOutputLocation(string[] arguments);
2929

30-
string GetAgentTagName(string[] arguments);
31-
}
30+
string GetAgentTagName(string[] arguments);
3231
}
Lines changed: 11 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
// <copyright file="IConsoleProvider.cs" company="Automate The Planet Ltd.">
2-
// Copyright 2020 Automate The Planet Ltd.
2+
// Copyright 2024 Automate The Planet Ltd.
33
// Licensed under the Apache License, Version 2.0 (the "License");
44
// You may not use this file except in compliance with the License.
55
// You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0
@@ -11,22 +11,21 @@
1111
// </copyright>
1212
// <author>Anton Angelov</author>
1313
// <site>https://bellatrix.solutions/</site>
14-
namespace Meissa.Core.Contracts
14+
namespace Meissa.Core.Contracts;
15+
16+
public interface IConsoleProvider
1517
{
16-
public interface IConsoleProvider
17-
{
18-
void WriteLine(string format, params object[] arguments);
18+
void WriteLine(string format, params object[] arguments);
1919

20-
void WriteLine(string message);
20+
void WriteLine(string message);
2121

22-
void Write(string format, params object[] arguments);
22+
void Write(string format, params object[] arguments);
2323

24-
void Write(string message);
24+
void Write(string message);
2525

26-
void WriteLine();
26+
void WriteLine();
2727

28-
void Clear();
28+
void Clear();
2929

30-
string ReadLine();
31-
}
30+
string ReadLine();
3231
}
Lines changed: 6 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
// <copyright file="IDateTimeProvider.cs" company="Automate The Planet Ltd.">
2-
// Copyright 2020 Automate The Planet Ltd.
2+
// Copyright 2024 Automate The Planet Ltd.
33
// Licensed under the Apache License, Version 2.0 (the "License");
44
// You may not use this file except in compliance with the License.
55
// You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0
@@ -13,11 +13,10 @@
1313
// <site>https://bellatrix.solutions/</site>
1414
using System;
1515

16-
namespace Meissa.Core.Contracts
16+
namespace Meissa.Core.Contracts;
17+
18+
public interface IDateTimeProvider
1719
{
18-
public interface IDateTimeProvider
19-
{
20-
DateTime GetCurrentTime();
21-
DateTime GetCurrentTimeUtc();
22-
}
20+
DateTime GetCurrentTime();
21+
DateTime GetCurrentTimeUtc();
2322
}
Lines changed: 10 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
// <copyright file="IDirectoryProvider.cs" company="Automate The Planet Ltd.">
2-
// Copyright 2020 Automate The Planet Ltd.
2+
// Copyright 2024 Automate The Planet Ltd.
33
// Licensed under the Apache License, Version 2.0 (the "License");
44
// You may not use this file except in compliance with the License.
55
// You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0
@@ -11,20 +11,19 @@
1111
// </copyright>
1212
// <author>Anton Angelov</author>
1313
// <site>https://bellatrix.solutions/</site>
14-
namespace Meissa.Core.Contracts
14+
namespace Meissa.Core.Contracts;
15+
16+
public interface IDirectoryProvider
1517
{
16-
public interface IDirectoryProvider
17-
{
18-
bool DoesDirectoryExists(string path);
18+
bool DoesDirectoryExists(string path);
1919

20-
string[] GetFiles(string path);
20+
string[] GetFiles(string path);
2121

22-
string[] GetFiles(string path, string searchPattern);
22+
string[] GetFiles(string path, string searchPattern);
2323

24-
void CreateDirectory(string path);
24+
void CreateDirectory(string path);
2525

26-
bool Exists(string path);
26+
bool Exists(string path);
2727

28-
void Delete(string path, bool recursive);
29-
}
28+
void Delete(string path, bool recursive);
3029
}
Lines changed: 6 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
// <copyright file="IDistributeLogDumpCreator.cs" company="Automate The Planet Ltd.">
2-
// Copyright 2020 Automate The Planet Ltd.
2+
// Copyright 2024 Automate The Planet Ltd.
33
// Licensed under the Apache License, Version 2.0 (the "License");
44
// You may not use this file except in compliance with the License.
55
// You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0
@@ -13,12 +13,11 @@
1313
// <site>https://bellatrix.solutions/</site>
1414
using System.Threading.Tasks;
1515

16-
namespace Meissa.Core.Contracts
16+
namespace Meissa.Core.Contracts;
17+
18+
public interface IDistributeLogDumpCreator
1719
{
18-
public interface IDistributeLogDumpCreator
19-
{
20-
Task<string> CreateDumpAsync(string dumpLocation);
20+
Task<string> CreateDumpAsync(string dumpLocation);
2121

22-
Task DeleteAllDumpsAsync();
23-
}
22+
Task DeleteAllDumpsAsync();
2423
}
Lines changed: 7 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
// <copyright file="IDistributeLogger.cs" company="Automate The Planet Ltd.">
2-
// Copyright 2020 Automate The Planet Ltd.
2+
// Copyright 2024 Automate The Planet Ltd.
33
// Licensed under the Apache License, Version 2.0 (the "License");
44
// You may not use this file except in compliance with the License.
55
// You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0
@@ -14,14 +14,13 @@
1414
using System;
1515
using System.Threading.Tasks;
1616

17-
namespace Meissa.Core.Contracts
17+
namespace Meissa.Core.Contracts;
18+
19+
public interface IDistributeLogger
1820
{
19-
public interface IDistributeLogger
20-
{
21-
Task ExecuteWithLoggingAsync(Action action, string exceptionMessage = null, bool shouldRethrowException = true);
21+
Task ExecuteWithLoggingAsync(Action action, string exceptionMessage = null, bool shouldRethrowException = true);
2222

23-
Task LogErrorAsync(string message, Exception ex);
23+
Task LogErrorAsync(string message, Exception ex);
2424

25-
Task LogInfoAsync(string message);
26-
}
25+
Task LogInfoAsync(string message);
2726
}
Lines changed: 7 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
// <copyright file="IEnvironmentService.cs" company="Automate The Planet Ltd.">
2-
// Copyright 2020 Automate The Planet Ltd.
2+
// Copyright 2024 Automate The Planet Ltd.
33
// Licensed under the Apache License, Version 2.0 (the "License");
44
// You may not use this file except in compliance with the License.
55
// You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0
@@ -11,12 +11,11 @@
1111
// </copyright>
1212
// <author>Anton Angelov</author>
1313
// <site>https://bellatrix.solutions/</site>
14-
namespace Meissa.Core.Contracts
14+
namespace Meissa.Core.Contracts;
15+
16+
public interface IEnvironmentService
1517
{
16-
public interface IEnvironmentService
17-
{
18-
void SetEnvironmentVariable(string variable, string value);
19-
void Sleep(int seconds);
20-
string MachineName { get; }
21-
}
18+
void SetEnvironmentVariable(string variable, string value);
19+
void Sleep(int seconds);
20+
string MachineName { get; }
2221
}

0 commit comments

Comments
 (0)