public void RemoveProvider(TextFormatProvider provider)
 {
     if (this.providers.Remove(provider))
     {
         provider.FormatDataChanged -= OnProviderFormatDataChanged;
         RaiseEvent(this.FormatDataChanged);
     }
 }
 public void RemoveProvider(TextFormatProvider provider)
 {
     if (this.providers.Remove(provider))
     {
         provider.FormatDataChanged -= OnProviderFormatDataChanged;
         RaiseEvent(this.FormatDataChanged);
     }
 }
 public void AddProvider(TextFormatProvider provider)
 {
     this.providers.Add(provider);
     provider.FormatDataChanged += OnProviderFormatDataChanged;
     RaiseEvent(this.FormatDataChanged);
 }
 public void AddProvider(TextFormatProvider provider)
 {
     this.providers.Add(provider);
     provider.FormatDataChanged += OnProviderFormatDataChanged;
     RaiseEvent(this.FormatDataChanged);
 }