Пример #1
0
 public virtual void RemoveListener(SchemeNotFoundHandler l)
 {
     this._listenerMap.RemoveWhere((x, y) => x == String.Empty && y == l);
 }
Пример #2
0
 public virtual void RemoveListener(SchemeNotFoundHandler l, string schemeName)
 {
     this._listenerMap.RemoveWhere((x, y) => x == schemeName && y == l);
 }
Пример #3
0
 public virtual void AddListener(SchemeNotFoundHandler l, string schemeName)
 {
     this._listenerMap.Add(schemeName ?? string.Empty, l);
 }