-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
f44e167
commit 89433ce
Showing
6 changed files
with
45 additions
and
8 deletions.
There are no files selected for viewing
14 changes: 14 additions & 0 deletions
14
Creational/DesignPatterns.AbstractFactory/DataLakeStorage.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
namespace DesignPatterns.AbstractFactory; | ||
|
||
public class DataLakeStorage : IStorage | ||
{ | ||
public Task<IPath> CreateDirectory(string name) | ||
{ | ||
throw new NotImplementedException(); | ||
} | ||
|
||
public Task<IPath> CreateFile(string name) | ||
{ | ||
throw new NotImplementedException(); | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
namespace DesignPatterns.AbstractFactory; | ||
|
||
public class Directory : IPath | ||
{ | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
namespace DesignPatterns.AbstractFactory; | ||
|
||
public class File : IPath | ||
{ | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
namespace DesignPatterns.AbstractFactory; | ||
|
||
public interface IPath | ||
{ | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
namespace DesignPatterns.AbstractFactory; | ||
|
||
public class LocalStorage : IStorage | ||
{ | ||
public Task<IPath> CreateDirectory(string name) | ||
{ | ||
throw new NotImplementedException(); | ||
} | ||
|
||
public Task<IPath> CreateFile(string name) | ||
{ | ||
throw new NotImplementedException(); | ||
} | ||
} |