コード例 #1
0
ファイル: DocumentsChanges.cs プロジェクト: radtek/ravendb
        public void RaiseNotifications(CounterChange counterChange)
        {
            OnCounterChange?.Invoke(counterChange);

            foreach (var connection in Connections)
            {
                if (!connection.Value.IsDisposed)
                {
                    connection.Value.SendCounterChanges(counterChange);
                }
            }
        }
コード例 #2
0
ファイル: HarvestBox.cs プロジェクト: QuantumMustard/huntpie
        protected virtual void _onCounterChange()
        {
            HarvestBoxEventArgs args = new HarvestBoxEventArgs(this);

            OnCounterChange?.Invoke(this, args);
        }
コード例 #3
0
ファイル: Ailment.cs プロジェクト: yonguelink/HunterPie
 protected virtual void _OnCounterChange()
 {
     OnCounterChange?.Invoke(this, new MonsterAilmentEventArgs(this));
 }