internal void ResetProperties()
 {
     if (this._attributes != null)
     {
         this._attributes.Clear();
         _properties.Clear();
         _properties.Add(_propName);
         _properties.Add(_propValue);
     }
 }
Exemplo n.º 2
0
 internal void ResetProperties()
 {
     // blow away any UnrecognizedAttributes that we have deserialized earlier
     if (_attributes != null)
     {
         _attributes.Clear();
         _properties.Clear();
         _properties.Add(_propName);
         _properties.Add(_propValue);
     }
 }
Exemplo n.º 3
0
 static LoggerProfileSection()
 {
     _propSettings =
         new ConfigurationProperty(null,
                                   typeof(LoggerProfileSettingsCollection),
                                   null,
                                   ConfigurationPropertyOptions.IsDefaultCollection);
     _properties = new ConfigurationPropertyCollection();
     _properties.Clear();
     _properties.Add(_propSettings);
 }
Exemplo n.º 4
0
 internal void ResetProperties()
 {
     if (this._attributes != null)
     {
         this._attributes.Clear();
         _properties.Clear();
         _properties.Add(_propName);
         _properties.Add(_propSwitchName);
         _properties.Add(_propSwitchValue);
         _properties.Add(_propSwitchType);
         _properties.Add(_propListeners);
     }
 }
Exemplo n.º 5
0
 // Clear the property.
 public void ClearCollection()
 {
     Properties.Clear();
 }