From faa592619703d03410133421f209293d3fbdeb46 Mon Sep 17 00:00:00 2001 From: Jochen Wezel Date: Tue, 12 Dec 2023 18:59:14 +0100 Subject: [PATCH] suppress compilation warnings --- CompuMaster.Dms.Providers/Providers/ManualUrlDmsProvider.vb | 2 ++ CompuMaster.Dms.Providers/Providers/NoDmsProvider.vb | 2 ++ 2 files changed, 4 insertions(+) diff --git a/CompuMaster.Dms.Providers/Providers/ManualUrlDmsProvider.vb b/CompuMaster.Dms.Providers/Providers/ManualUrlDmsProvider.vb index 2f63576..8a005b2 100644 --- a/CompuMaster.Dms.Providers/Providers/ManualUrlDmsProvider.vb +++ b/CompuMaster.Dms.Providers/Providers/ManualUrlDmsProvider.vb @@ -9,6 +9,7 @@ Namespace Providers Public Class ManualUrlDmsProvider Inherits BaseDmsProvider +#Disable Warning BC42356 ' In dieser asynchronen Methode fehlten die "Await"-Operatoren, sie wird daher synchron ausgeführt. Public Overrides ReadOnly Property DmsProviderID As DmsProviders Get Return DmsProviders.ManualUrl @@ -228,6 +229,7 @@ Namespace Providers Protected Overrides Function CustomizedWebApiUrl(loginCredentials As BaseDmsLoginCredentials) As String Throw New NotSupportedException End Function +#Enable Warning BC42356 ' In dieser asynchronen Methode fehlten die "Await"-Operatoren, sie wird daher synchron ausgeführt. End Class diff --git a/CompuMaster.Dms.Providers/Providers/NoDmsProvider.vb b/CompuMaster.Dms.Providers/Providers/NoDmsProvider.vb index 931c550..11863eb 100644 --- a/CompuMaster.Dms.Providers/Providers/NoDmsProvider.vb +++ b/CompuMaster.Dms.Providers/Providers/NoDmsProvider.vb @@ -9,6 +9,7 @@ Namespace Providers Public Class NoDmsProvider Inherits BaseDmsProvider +#Disable Warning BC42356 ' In dieser asynchronen Methode fehlten die "Await"-Operatoren, sie wird daher synchron ausgeführt. Public Overrides ReadOnly Property DmsProviderID As DmsProviders Get Return DmsProviders.None @@ -228,6 +229,7 @@ Namespace Providers Protected Overrides Function CustomizedWebApiUrl(loginCredentials As BaseDmsLoginCredentials) As String Throw New NotSupportedException End Function +#Enable Warning BC42356 ' In dieser asynchronen Methode fehlten die "Await"-Operatoren, sie wird daher synchron ausgeführt. End Class