From 54b7a3494f36b4235c4ada45bebfb990eafe0ec7 Mon Sep 17 00:00:00 2001 From: Brandon Minnick <13558917+brminnick@users.noreply.github.com> Date: Mon, 2 Nov 2020 13:02:52 -0800 Subject: [PATCH] Update NuGet Packages --- Src/GitHubApiStatus/GitHubApiStatus.csproj | 2 +- Src/GitStatus.Android/GitStatus.Android.csproj | 4 ++-- Src/GitStatus.ConsoleApp/Program.cs | 3 +-- Src/GitStatus.iOS/GitStatus.iOS.csproj | 4 ++-- Src/GitStatus/GitStatus.csproj | 4 ++-- Src/GitStatus/Services/ContainerService.cs | 2 +- Src/GitStatus/ViewModels/Base/BaseViewModel.cs | 2 +- 7 files changed, 10 insertions(+), 11 deletions(-) diff --git a/Src/GitHubApiStatus/GitHubApiStatus.csproj b/Src/GitHubApiStatus/GitHubApiStatus.csproj index 4dd5b8f..fec0dde 100644 --- a/Src/GitHubApiStatus/GitHubApiStatus.csproj +++ b/Src/GitHubApiStatus/GitHubApiStatus.csproj @@ -47,7 +47,7 @@ Calculate the GitHub API Rate Limits for the following GitHub APIs - Code Scanning Upload API - App Manifest Configuration API - 1.0.0-pre4 + 1.0.0 https://github.com/brminnick/GitHubApiStatus $(AssemblyName) ($(TargetFramework)) 1.0.0.0 diff --git a/Src/GitStatus.Android/GitStatus.Android.csproj b/Src/GitStatus.Android/GitStatus.Android.csproj index d155ab5..08423d2 100644 --- a/Src/GitStatus.Android/GitStatus.Android.csproj +++ b/Src/GitStatus.Android/GitStatus.Android.csproj @@ -64,10 +64,10 @@ - + - + 3.2.0 diff --git a/Src/GitStatus.ConsoleApp/Program.cs b/Src/GitStatus.ConsoleApp/Program.cs index 8ff6fb1..acb8fe7 100644 --- a/Src/GitStatus.ConsoleApp/Program.cs +++ b/Src/GitStatus.ConsoleApp/Program.cs @@ -1,5 +1,4 @@ using System; -using System.Diagnostics; using System.Net.Http; using System.Net.Http.Headers; using System.Threading.Tasks; @@ -10,7 +9,7 @@ namespace GitStatus.ConsoleApp { class Program { - static readonly HttpClient _client = new HttpClient + static readonly HttpClient _client = new() { DefaultRequestHeaders = { diff --git a/Src/GitStatus.iOS/GitStatus.iOS.csproj b/Src/GitStatus.iOS/GitStatus.iOS.csproj index 9f9f9bf..f069721 100644 --- a/Src/GitStatus.iOS/GitStatus.iOS.csproj +++ b/Src/GitStatus.iOS/GitStatus.iOS.csproj @@ -130,10 +130,10 @@ - + - + diff --git a/Src/GitStatus/GitStatus.csproj b/Src/GitStatus/GitStatus.csproj index 32cee7d..e8e7b30 100644 --- a/Src/GitStatus/GitStatus.csproj +++ b/Src/GitStatus/GitStatus.csproj @@ -13,10 +13,10 @@ - + - + diff --git a/Src/GitStatus/Services/ContainerService.cs b/Src/GitStatus/Services/ContainerService.cs index f7293ed..47fae63 100644 --- a/Src/GitStatus/Services/ContainerService.cs +++ b/Src/GitStatus/Services/ContainerService.cs @@ -6,7 +6,7 @@ namespace GitStatus { public class ContainerService { - readonly static Lazy _serviceProviderHolder = new Lazy(CreateContainer); + readonly static Lazy _serviceProviderHolder = new(CreateContainer); public static ServiceProvider Container => _serviceProviderHolder.Value; diff --git a/Src/GitStatus/ViewModels/Base/BaseViewModel.cs b/Src/GitStatus/ViewModels/Base/BaseViewModel.cs index 8326eb8..783e847 100644 --- a/Src/GitStatus/ViewModels/Base/BaseViewModel.cs +++ b/Src/GitStatus/ViewModels/Base/BaseViewModel.cs @@ -7,7 +7,7 @@ namespace GitStatus { public abstract class BaseViewModel : INotifyPropertyChanged { - readonly WeakEventManager _propertyChangedEventManager = new WeakEventManager(); + readonly WeakEventManager _propertyChangedEventManager = new (); event PropertyChangedEventHandler INotifyPropertyChanged.PropertyChanged {