Exemplo n.º 1
0
 /// <summary>
 /// removes a source
 /// </summary>
 /// <param name="source">source to be removed</param>
 public void RemoveSource(ITickerMessageSource source)
 {
     lock (sourcelock)
         sources.Remove(source);
 }
Exemplo n.º 2
0
 /// <summary>
 /// adds a source used when generating ticker messages
 /// </summary>
 /// <param name="source">source to be added</param>
 public void AddSource(ITickerMessageSource source)
 {
     lock (sourcelock)
         sources.Add(source);
 }