-
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.
Revision of Dependency Injection patterns.
- Loading branch information
Mario Meyrelles
committed
Sep 7, 2012
1 parent
4235e92
commit 9c7855a
Showing
18 changed files
with
184 additions
and
110 deletions.
There are no files selected for viewing
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
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
15 changes: 15 additions & 0 deletions
15
Solution2010/ModernCashFlow.Excel2010/ApplicationCore/Factories/IExpenseWorksheetFactory.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,15 @@ | ||
using ModernCashFlow.Excel2010.WorksheetLogic; | ||
|
||
namespace ModernCashFlow.Excel2010.ApplicationCore.Factories | ||
{ | ||
|
||
/// <summary> | ||
/// Abstract Factory for creating Worksheet logic objects. Meant to be used with Ninject Factory extension. | ||
/// </summary> | ||
public interface IExpenseWorksheetFactory | ||
{ | ||
ExpenseWorksheet CreateWorksheet(); | ||
ExpenseWorksheet.ContextMenus CreateContextMenu(); | ||
ExpenseWorksheet.Events CreateEventHandlers(); | ||
} | ||
} |
14 changes: 14 additions & 0 deletions
14
Solution2010/ModernCashFlow.Excel2010/ApplicationCore/Factories/IIncomeWorksheetFactory.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 @@ | ||
using ModernCashFlow.Excel2010.WorksheetLogic; | ||
|
||
namespace ModernCashFlow.Excel2010.ApplicationCore.Factories | ||
{ | ||
/// <summary> | ||
/// Abstract Factory for creating Worksheet logic objects. Meant to be used with Ninject Factory extension. | ||
/// </summary> | ||
public interface IIncomeWorksheetFactory | ||
{ | ||
ExpenseWorksheet CreateWorksheet(); | ||
ExpenseWorksheet.ContextMenus CreateContextMenu(); | ||
ExpenseWorksheet.Events CreateEventHandlers(); | ||
} | ||
} |
Binary file not shown.
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
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
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
Oops, something went wrong.