Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- public abstract class MyStrategy
- {
- public IStorageMethod StorageMethod;
- }
- public class DbTaskRepository : MyStrategy
- {
- add
- delete
- ....
- }
- public class MemoryTaskRepository: MyStrategy
- {
- add
- delete
- ....
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement