/// <summary> /// Removes the "this"-reference from the trigger list. /// </summary> /// <param name='self'> /// The "this"-reference /// </param> public static void removeSelfFromListenerList(PeakListener self) { listeners.Remove (self); }
private int loudFlag; // Flag to check how loud the song currently is #endregion Fields #region Methods /// <summary> /// Use this method to add a "this"-reference to the PeakTriggerManager, so that it can alert "this" when a peak occurs /// </summary> /// <param name='self'> /// The "this"-reference /// </param> public static void addSelfToListenerList(PeakListener self) { listeners.Add (self); }