コード例 #1
0
 public void FireNotifyRat(object sender, Rat whichRat)
 {
     NotifyRat?.Invoke(sender, whichRat);
 }
コード例 #2
0
ファイル: Observer.cs プロジェクト: ppparihar/DesignPatterns
 public void FaireNotifyRat(Rat sender, Rat which)
 {
     NotifyRat?.Invoke(sender, which);
 }