-
-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #348 from ignatandrei/NullObject
Null object
- Loading branch information
Showing
76 changed files
with
1,313 additions
and
1,016 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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -12,7 +12,7 @@ <h2>Info</h2> | |
|
||
<h2>About</h2> | ||
|
||
|
||
Generates GitInfo data from the current environment. | ||
|
||
<h2> | ||
How to use | ||
|
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,75 @@ | ||
|
||
<h1>RSCG nr 182 : rscg_Interface_to_null_object</h1> | ||
|
||
<h2>Info</h2> | ||
Nuget : <a href="https://www.nuget.org/packages/rscg_Interface_to_null_object/" target="_blank">https://www.nuget.org/packages/rscg_Interface_to_null_object/</a> | ||
|
||
<p>You can find more details at : <a href="https://github.com/ignatandrei/rscg_Interface_to_null_object/" target="_blank"> https://github.com/ignatandrei/rscg_Interface_to_null_object/</a></p> | ||
|
||
<p>Author :Andrei Ignat</p> | ||
|
||
<p>Source : <a href="https://github.com/ignatandrei/rscg_Interface_to_null_object/" target="_blank">https://github.com/ignatandrei/rscg_Interface_to_null_object/</a> </p> | ||
|
||
<h2>About</h2> | ||
|
||
Generate null objects for interfaces | ||
|
||
<h2> | ||
How to use | ||
</h2> | ||
<h3> | ||
Add reference to the <a href="https://www.nuget.org/packages/rscg_Interface_to_null_object/" target="_blank">rscg_Interface_to_null_object</a> in the csproj | ||
</h3> | ||
<img src="images/rscg_Interface_to_null_object/NullInterface.csproj.png" width="580" height="580" /> | ||
|
||
<h3>This was for me the <b>starting</b> code</h3> | ||
|
||
<br /> | ||
I have <b>coded</b> the file Program.cs | ||
<br /> | ||
<img src="images/rscg_Interface_to_null_object/csFiles/Program.cs.png" width="580" height="580" /> | ||
<hr /> | ||
|
||
<br /> | ||
I have <b>coded</b> the file IEmployee.cs | ||
<br /> | ||
<img src="images/rscg_Interface_to_null_object/csFiles/IEmployee.cs.png" width="580" height="580" /> | ||
<hr /> | ||
|
||
<br /> | ||
I have <b>coded</b> the file IDepartment.cs | ||
<br /> | ||
<img src="images/rscg_Interface_to_null_object/csFiles/IDepartment.cs.png" width="580" height="580" /> | ||
<hr /> | ||
<h3>And here are the <i>generated</i> files</h3> | ||
|
||
<br /> | ||
The file <i>generated</i> is TheAssemblyInfo.g.cs | ||
<br /> | ||
<img src="images/rscg_Interface_to_null_object/generated/TheAssemblyInfo.g.cs.png" width="580" height="580" /> | ||
|
||
<br /> | ||
The file <i>generated</i> is IDepartment_null.cs | ||
<br /> | ||
<img src="images/rscg_Interface_to_null_object/generated/IDepartment_null.cs.png" width="580" height="580" /> | ||
|
||
<br /> | ||
The file <i>generated</i> is IEmployee_null.cs | ||
<br /> | ||
<img src="images/rscg_Interface_to_null_object/generated/IEmployee_null.cs.png" width="580" height="580" /> | ||
|
||
<p> | ||
You can download the code and this page as pdf from | ||
<a target="_blank" href='https://ignatandrei.github.io/RSCG_Examples/v2/docs/rscg_Interface_to_null_object'> | ||
https://ignatandrei.github.io/RSCG_Examples/v2/docs/rscg_Interface_to_null_object | ||
</a> | ||
</p> | ||
|
||
|
||
<p> | ||
You can see the whole list at | ||
<a target="_blank" href='https://ignatandrei.github.io/RSCG_Examples/v2/docs/List-of-RSCG'> | ||
https://ignatandrei.github.io/RSCG_Examples/v2/docs/List-of-RSCG | ||
</a> | ||
</p> | ||
|
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.