C# Class CompositePattern.SongGroup

Inheritance: SongComponent
Show file Open project: marwie/Design-Patterns-in-Unity-Example Class Usage Examples

Protected Properties

Property Type Description
components List

Public Methods

Method Description
Add ( SongComponent component ) : void
DisplaySongInformation ( ) : void
Get ( int i ) : SongComponent
Remove ( SongComponent component ) : void
SongGroup ( string name, string description ) : System.Collections

Method Details

Add() public method

public Add ( SongComponent component ) : void
component SongComponent
return void

DisplaySongInformation() public method

public DisplaySongInformation ( ) : void
return void

Get() public method

public Get ( int i ) : SongComponent
i int
return SongComponent

Remove() public method

public Remove ( SongComponent component ) : void
component SongComponent
return void

SongGroup() public method

public SongGroup ( string name, string description ) : System.Collections
name string
description string
return System.Collections

Property Details

components protected property

protected List components
return List