Design Patterns in C# by Vaskaran Sarcar

Design Patterns in C# by Vaskaran Sarcar

Author:Vaskaran Sarcar
Language: eng
Format: epub
Publisher: Apress, Berkeley, CA


Illustration

In this example, I am using similar class names to the concept described earlier.

Class Diagram

Figure 17-1 shows the class diagram.

Figure 17-1 Class diagram

Directed Graph Document

Figure 17-2 shows the directed graph document.

Figure 17-2Directed Graph Document

Solution Explorer View

Figure 17-3 shows the high-level structure of the parts of the program.

Figure 17-3 Solution Explorer View

Implementation

Here’s the implementation:

using System;

namespace CommandPattern

{

public interface ICommand

{

void Do();

}



Download



Copyright Disclaimer:
This site does not store any files on its server. We only index and link to content provided by other sites. Please contact the content providers to delete copyright contents if any and email us, we'll remove relevant links or contents immediately.