コード例 #1
0
 /// <summary>
 /// Unregisters the specified roulette.
 /// </summary>
 /// <param name="roulette">The roulette.</param>
 public void Unregister(Roulette roulette)
 {
     roulette.SpinCompleted -= RouletteOnSpinCompleted;
 }
コード例 #2
0
 /// <summary>
 /// Registers the specified roulette.
 /// </summary>
 /// <param name="roulette">The roulette.</param>
 public void Register(Roulette roulette)
 {
     roulette.SpinCompleted += RouletteOnSpinCompleted;
 }