Update Lesson 5 Task 1

This commit is contained in:
Stanislav Mykhailenko 2023-04-10 18:14:36 +03:00
parent c3faf01472
commit 3f3a735aa7
GPG key ID: 1E95E66A9C9D6A36
6 changed files with 7 additions and 7 deletions

View file

@ -2,5 +2,5 @@ namespace Lesson5.Interfaces;
public interface ICopyDirectory
{
public static abstract void Copy(string sourceDir, string destinationDir, bool recursive);
static void Copy(string sourceDir, string destinationDir, bool recursive) => throw new NotImplementedException();
}

View file

@ -2,5 +2,5 @@ namespace Lesson5.Interfaces;
public interface IFileInfoOperation
{
public static abstract void GetFileInfo(string path);
static void GetFileInfo(string path) => throw new NotImplementedException();
}

View file

@ -2,5 +2,5 @@ namespace Lesson5.Interfaces;
public interface IReadFile
{
public static abstract void ReadByPath(string path);
static void ReadByPath(string path) => throw new NotImplementedException();
}

View file

@ -2,5 +2,5 @@ namespace Lesson5.Interfaces;
public interface IUserInput
{
public static abstract string AskStringInput(string prompt);
static string AskStringInput(string prompt) => throw new NotImplementedException();
}

View file

@ -2,6 +2,6 @@ namespace Lesson5.Interfaces;
public interface IWorkWithFileSystem
{
public static abstract void GetDirectoryFiles(string path);
public static abstract string Cd(string name, string current);
static void GetDirectoryFiles(string path) => throw new NotImplementedException();
static string Cd(string name, string current) => throw new NotImplementedException();
}

View file

@ -2,7 +2,7 @@
<PropertyGroup>
<OutputType>Exe</OutputType>
<TargetFramework>net7.0</TargetFramework>
<TargetFramework>net6.0</TargetFramework>
<ImplicitUsings>enable</ImplicitUsings>
<Nullable>enable</Nullable>
</PropertyGroup>