コード例 #1
0
 public CantCreateNewPreetEventArgs(CantCreateNewPresetReasons cantCreateNewPresetReason, Preset preset)
 {
     Preset = preset ?? throw new ArgumentNullException();
     CantCreateNewPresetReason = cantCreateNewPresetReason;
 }
コード例 #2
0
ファイル: CycleBellManager.cs プロジェクト: p1eXu5/CycleBell
 private void OnCantCreateNewPreset(CantCreateNewPresetReasons reason, Preset preset)
 {
     CantCreateNewPresetEvent?.Invoke(this, new CantCreateNewPreetEventArgs(reason, preset));
 }