C# Class Composite.Component

Inheritance: Composite
Datei anzeigen Open project: mravinale/gof-patterns Class Usage Examples

Protected Properties

Property Type Description
name string

Public Methods

Method Description
Add ( Component c ) : void
Component ( string name ) : System
Display ( int depth ) : void
Remove ( Component c ) : void

Method Details

Add() public abstract method

public abstract Add ( Component c ) : void
c Component
return void

Component() public method

public Component ( string name ) : System
name string
return System

Display() public abstract method

public abstract Display ( int depth ) : void
depth int
return void

Remove() public abstract method

public abstract Remove ( Component c ) : void
c Component
return void

Property Details

name protected_oe property

protected string name
return string