private ISequencerNoteHandler GetSpawner(SequencerNoteReceptacle receptacle) { ISequencerNoteHandler ret; if (!spawners.TryGetValue(receptacle, out ret)) { ret = new MySpawner(receptacle); spawners.Add(receptacle, ret); } return(ret); }
public MySpawner(SequencerNoteReceptacle receptacle) { this.receptacle = receptacle; }