protected void OnAdaptivityLevelChanged(AdaptivityLevelChangedEventArgs e) { EventHandler <AdaptivityLevelChangedEventArgs> handler = AdaptivityLevelChanged; if (handler != null) { handler(this, e); } }
private void OnAdaptivityLevelChanged(object sender, AdaptivityLevelChangedEventArgs e) { logAdaptivityChanged(e.OldLevel, WorkflowManager.Instance.AdaptivityLevelId, e.Reason); }