Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

File_Adapter: Create partial class placed in File_Adapter moved to File_Engine #135

Merged
merged 4 commits into from
Dec 14, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 0 additions & 1 deletion File_Adapter/File_Adapter.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,6 @@
<Compile Include="CRUD\Read\ReadFile.cs" />
<Compile Include="Methods\AddExtraData.cs" />
<Compile Include="Methods\CreateFSFile.cs" />
<Compile Include="Methods\CreateFSDirectory.cs" />
<Compile Include="Methods\WalkDirectories.cs" />
<Compile Include="FileAdapter.cs" />
<Compile Include="Properties\AssemblyInfo.cs" />
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -39,10 +39,9 @@ public static partial class Create
/**** Private Methods ****/
/***************************************************/

[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))
Expand All @@ -57,8 +56,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))
Expand Down
1 change: 1 addition & 0 deletions File_Engine/File_Engine.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -84,6 +84,7 @@
<Compile Include="Convert\ToFiling\FSFile.cs" />
<Compile Include="Convert\ToFiling\IContainer.cs" />
<Compile Include="Convert\ToFiling\ILocatableResource.cs" />
<Compile Include="Create\FSDirectory.cs" />
<Compile Include="Create\FileDirRequest.cs" />
<Compile Include="Modify\RelativiseUserPath.cs" />
<Compile Include="Modify\RemoveContent.cs" />
Expand Down