From 36afcdf0988e753ae2178fb8220b02f2c4d0b2b2 Mon Sep 17 00:00:00 2001 From: ivarlovlie Date: Sun, 30 Jan 2022 01:41:08 +0100 Subject: refactor: Convert solution for file-scoped namespaces --- .../Models/VippsConfigurationKeyNames.cs | 33 +++++++++++----------- 1 file changed, 16 insertions(+), 17 deletions(-) (limited to 'src/IOL.VippsEcommerce/Models/VippsConfigurationKeyNames.cs') diff --git a/src/IOL.VippsEcommerce/Models/VippsConfigurationKeyNames.cs b/src/IOL.VippsEcommerce/Models/VippsConfigurationKeyNames.cs index c966762..020b803 100644 --- a/src/IOL.VippsEcommerce/Models/VippsConfigurationKeyNames.cs +++ b/src/IOL.VippsEcommerce/Models/VippsConfigurationKeyNames.cs @@ -1,18 +1,17 @@ -namespace IOL.VippsEcommerce.Models +namespace IOL.VippsEcommerce.Models; + +public static class VippsConfigurationKeyNames { - public static class VippsConfigurationKeyNames - { - public const string API_URL = "VIPPS_API_URL"; - public const string CLIENT_ID = "VIPPS_CLIENT_ID"; - public const string CLIENT_SECRET = "VIPPS_CLIENT_SECRET"; - public const string SUBSCRIPTION_KEY_PRIMARY = "VIPPS_SUBSCRIPTION_KEY_PRIMARY"; - public const string SUBSCRIPTION_KEY_SECONDARY = "VIPPS_SUBSCRIPTION_KEY_SECONDARY"; - public const string MSN = "VIPPS_MSN"; - public const string SYSTEM_NAME = "VIPPS_SYSTEM_NAME"; - public const string SYSTEM_VERSION = "VIPPS_SYSTEM_VERSION"; - public const string SYSTEM_PLUGIN_NAME = "VIPPS_SYSTEM_PLUGIN_NAME"; - public const string SYSTEM_PLUGIN_VERSION = "VIPPS_SYSTEM_PLUGIN_VERSION"; - public const string CACHE_PATH = "VIPPS_CACHE_PATH"; - public const string CACHE_KEY = "VIPPS_CACHE_KEY"; - } -} + public const string API_URL = "VIPPS_API_URL"; + public const string CLIENT_ID = "VIPPS_CLIENT_ID"; + public const string CLIENT_SECRET = "VIPPS_CLIENT_SECRET"; + public const string SUBSCRIPTION_KEY_PRIMARY = "VIPPS_SUBSCRIPTION_KEY_PRIMARY"; + public const string SUBSCRIPTION_KEY_SECONDARY = "VIPPS_SUBSCRIPTION_KEY_SECONDARY"; + public const string MSN = "VIPPS_MSN"; + public const string SYSTEM_NAME = "VIPPS_SYSTEM_NAME"; + public const string SYSTEM_VERSION = "VIPPS_SYSTEM_VERSION"; + public const string SYSTEM_PLUGIN_NAME = "VIPPS_SYSTEM_PLUGIN_NAME"; + public const string SYSTEM_PLUGIN_VERSION = "VIPPS_SYSTEM_PLUGIN_VERSION"; + public const string CACHE_PATH = "VIPPS_CACHE_PATH"; + public const string CACHE_KEY = "VIPPS_CACHE_KEY"; +} \ No newline at end of file -- cgit v1.3