C# 클래스 Composite.Leaf

The 'Leaf' class
상속: Component
파일 보기 프로젝트 열기: mravinale/gof-patterns 1 사용 예제들

공개 메소드들

메소드 설명
Add ( Component c ) : void
Display ( int depth ) : void
Leaf ( string name ) : System
Remove ( Component c ) : void

메소드 상세

Add() 공개 메소드

public Add ( Component c ) : void
c Component
리턴 void

Display() 공개 메소드

public Display ( int depth ) : void
depth int
리턴 void

Leaf() 공개 메소드

public Leaf ( string name ) : System
name string
리턴 System

Remove() 공개 메소드

public Remove ( Component c ) : void
c Component
리턴 void