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/VippsConfigurationKeyName.cs | 25 +++++++++++----------- 1 file changed, 12 insertions(+), 13 deletions(-) (limited to 'src/IOL.VippsEcommerce/Models/VippsConfigurationKeyName.cs') diff --git a/src/IOL.VippsEcommerce/Models/VippsConfigurationKeyName.cs b/src/IOL.VippsEcommerce/Models/VippsConfigurationKeyName.cs index d429b1e..d56f908 100644 --- a/src/IOL.VippsEcommerce/Models/VippsConfigurationKeyName.cs +++ b/src/IOL.VippsEcommerce/Models/VippsConfigurationKeyName.cs @@ -1,18 +1,17 @@ using System; -namespace IOL.VippsEcommerce.Models -{ - [AttributeUsage(AttributeTargets.Property)] - internal sealed class VippsConfigurationKeyName : Attribute - { - /// - /// Specifies a name for this configuration value. - /// - /// Name of the configuration value. - public VippsConfigurationKeyName(string name) { - Name = name; - } +namespace IOL.VippsEcommerce.Models; - public string Name { get; } +[AttributeUsage(AttributeTargets.Property)] +internal sealed class VippsConfigurationKeyName : Attribute +{ + /// + /// Specifies a name for this configuration value. + /// + /// Name of the configuration value. + public VippsConfigurationKeyName(string name) { + Name = name; } + + public string Name { get; } } \ No newline at end of file -- cgit v1.3