From e797b0665c830f34746c027b8d2f05cc5397c49f Mon Sep 17 00:00:00 2001 From: Alessio Lombardi Date: Tue, 24 May 2022 16:52:12 +0100 Subject: [PATCH 1/3] File_Adapter: Create partial class placed in File_Adapter moved to File_Engine --- File_Adapter/File_Adapter.csproj | 5 ++--- .../Create/FSDirectory.cs | 0 File_Engine/File_Engine.csproj | 1 + 3 files changed, 3 insertions(+), 3 deletions(-) rename File_Adapter/Methods/CreateFSDirectory.cs => File_Engine/Create/FSDirectory.cs (100%) diff --git a/File_Adapter/File_Adapter.csproj b/File_Adapter/File_Adapter.csproj index 72443d6..4915a07 100644 --- a/File_Adapter/File_Adapter.csproj +++ b/File_Adapter/File_Adapter.csproj @@ -1,4 +1,4 @@ - + @@ -156,7 +156,6 @@ - @@ -189,4 +188,4 @@ xcopy "$(TargetDir)System.Numerics.Vectors.dll" "C:\ProgramData\BHoM\Assemblies xcopy "$(TargetDir)System.Text.Encodings.Web.dll" "C:\ProgramData\BHoM\Assemblies" /Y xcopy "$(TargetDir)System.Text.Json.dll" "C:\ProgramData\BHoM\Assemblies" /Y - + \ No newline at end of file diff --git a/File_Adapter/Methods/CreateFSDirectory.cs b/File_Engine/Create/FSDirectory.cs similarity index 100% rename from File_Adapter/Methods/CreateFSDirectory.cs rename to File_Engine/Create/FSDirectory.cs diff --git a/File_Engine/File_Engine.csproj b/File_Engine/File_Engine.csproj index 9dee5c1..6d87328 100644 --- a/File_Engine/File_Engine.csproj +++ b/File_Engine/File_Engine.csproj @@ -90,6 +90,7 @@ + From 579674e9342490a62d7a3c2eba489ee1635da047 Mon Sep 17 00:00:00 2001 From: Alessio Lombardi Date: Wed, 14 Dec 2022 19:21:32 +0000 Subject: [PATCH 2/3] Update FSDirectory.cs --- File_Engine/Create/FSDirectory.cs | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/File_Engine/Create/FSDirectory.cs b/File_Engine/Create/FSDirectory.cs index 2647073..785858b 100644 --- a/File_Engine/Create/FSDirectory.cs +++ b/File_Engine/Create/FSDirectory.cs @@ -40,9 +40,9 @@ public static partial class Create /***************************************************/ [Input("parentDirectory", "Path of parent Directory of the directory. You can also specify a string path.")] - [Input("directoryName", "Name of the directory.")] - [Input("content", "The content of the file.")] - [Description("Creates a oM.Adapters.Filing.File object.")] + [Input("dirFullPath", "Name of the directory.")] + [Description("Creates a oM.Adapters.File.FSDirectory object from the input full path.")] + [Output("The created oM.Adapters.File.FSDirectory object.")] public static oM.Adapters.File.FSDirectory FSDirectory(string dirFullPath) { if (Path.HasExtension(dirFullPath)) @@ -57,8 +57,8 @@ public static oM.Adapters.File.FSDirectory FSDirectory(string dirFullPath) [Input("parentDirectory","Path of parent Directory of the directory. You can also specify a string path.")] [Input("directoryName", "Name of the directory.")] - [Input("content", "The content of the file.")] - [Description("Creates a oM.Adapters.Filing.File object.")] + [Description("Creates a oM.Adapters.File.FSDirectory object with the input directoryName in the input parentDirectory.")] + [Output("The created oM.Adapters.File.FSDirectory object.")] public static oM.Adapters.File.FSDirectory FSDirectory(oM.Adapters.File.FSDirectory parentDirectory, string directoryName) { if (Path.HasExtension(directoryName)) From 897b7fdee4acd4cedff14aef6a34f863fad8c87e Mon Sep 17 00:00:00 2001 From: Fraser Greenroyd Date: Wed, 14 Dec 2022 19:29:51 +0000 Subject: [PATCH 3/3] Update File_Engine/Create/FSDirectory.cs --- File_Engine/Create/FSDirectory.cs | 1 - 1 file changed, 1 deletion(-) diff --git a/File_Engine/Create/FSDirectory.cs b/File_Engine/Create/FSDirectory.cs index 785858b..05c93c1 100644 --- a/File_Engine/Create/FSDirectory.cs +++ b/File_Engine/Create/FSDirectory.cs @@ -39,7 +39,6 @@ public static partial class Create /**** Private Methods ****/ /***************************************************/ - [Input("parentDirectory", "Path of parent Directory of the directory. You can also specify a string path.")] [Input("dirFullPath", "Name of the directory.")] [Description("Creates a oM.Adapters.File.FSDirectory object from the input full path.")] [Output("The created oM.Adapters.File.FSDirectory object.")]