Browse Source

Cosmetics

Piotr Czajkowski 4 months ago
parent
commit
b09f0dd78d

+ 2 - 2
ExcelORM/ExcelORM/Attributes/ColumnAttribute.cs

@@ -1,4 +1,4 @@
-namespace ExcelORM
+namespace ExcelORM.Attributes
 {
     [AttributeUsage(AttributeTargets.Property)]
     public class ColumnAttribute : Attribute
@@ -7,7 +7,7 @@
 
         public ColumnAttribute(string name)
         {
-            Names = new string[] { name };
+            Names = new[] { name };
         }
 
         public ColumnAttribute(string[] names)

+ 1 - 1
ExcelORM/ExcelORM/ExcelORM.csproj

@@ -4,7 +4,7 @@
         <TargetFramework>net7.0</TargetFramework>
         <ImplicitUsings>enable</ImplicitUsings>
         <Nullable>enable</Nullable>
-        <Version>1.0.1</Version>
+        <Version>1.0.2</Version>
         <PackageProjectUrl>https://git.liox.eu/pczajkowski/ExcelORM</PackageProjectUrl>
         <RepositoryUrl>https://github.com/pczajkowski/ExcelORM</RepositoryUrl>
         <GeneratePackageOnBuild>true</GeneratePackageOnBuild>

+ 1 - 0
ExcelORM/ExcelORM/ExcelWriter.cs

@@ -1,4 +1,5 @@
 using ClosedXML.Excel;
+using ExcelORM.Attributes;
 
 namespace ExcelORM;
 

+ 1 - 0
ExcelORM/ExcelORM/Mapping.cs

@@ -1,4 +1,5 @@
 using ClosedXML.Excel;
+using ExcelORM.Attributes;
 
 namespace ExcelORM
 {

+ 1 - 1
ExcelORM/ExcelORMTests/Test.cs

@@ -1,4 +1,4 @@
-using ExcelORM;
+using ExcelORM.Attributes;
 
 namespace ExcelORMTests;