C# Class Composite.Leaf

The 'Leaf' class
Inheritance: Component
Afficher le fichier Open project: mravinale/gof-patterns Class Usage Examples

Méthodes publiques

Méthode Description
Add ( Component c ) : void
Display ( int depth ) : void
Leaf ( string name ) : System
Remove ( Component c ) : void

Method Details

Add() public méthode

public Add ( Component c ) : void
c Component
Résultat void

Display() public méthode

public Display ( int depth ) : void
depth int
Résultat void

Leaf() public méthode

public Leaf ( string name ) : System
name string
Résultat System

Remove() public méthode

public Remove ( Component c ) : void
c Component
Résultat void