Update Lesson 5 Task 1
This commit is contained in:
parent
c3faf01472
commit
3f3a735aa7
6 changed files with 7 additions and 7 deletions
|
@ -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();
|
||||
}
|
||||
|
|
|
@ -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();
|
||||
}
|
||||
|
|
|
@ -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();
|
||||
}
|
||||
|
|
|
@ -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();
|
||||
}
|
||||
|
|
|
@ -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();
|
||||
}
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
|
||||
<PropertyGroup>
|
||||
<OutputType>Exe</OutputType>
|
||||
<TargetFramework>net7.0</TargetFramework>
|
||||
<TargetFramework>net6.0</TargetFramework>
|
||||
<ImplicitUsings>enable</ImplicitUsings>
|
||||
<Nullable>enable</Nullable>
|
||||
</PropertyGroup>
|
||||
|
|
Reference in a new issue