C# 클래스 IteratorPattern.SongsOfThe70s

상속: SongIterator
파일 보기 프로젝트 열기: marwie/Design-Patterns-in-Unity-Example 1 사용 예제들

보호된 프로퍼티들

프로퍼티 타입 설명
bestSongs List

공개 메소드들

메소드 설명
AddSong ( string name, string artist, int year ) : void
GetIterator ( ) : IEnumerator
SongsOfThe70s ( ) : System.Collections

메소드 상세

AddSong() 공개 메소드

public AddSong ( string name, string artist, int year ) : void
name string
artist string
year int
리턴 void

GetIterator() 공개 메소드

public GetIterator ( ) : IEnumerator
리턴 IEnumerator

SongsOfThe70s() 공개 메소드

public SongsOfThe70s ( ) : System.Collections
리턴 System.Collections

프로퍼티 상세

bestSongs 보호되어 있는 프로퍼티

protected List bestSongs
리턴 List