internal void ResetProperties() { if (this._attributes != null) { this._attributes.Clear(); _properties.Clear(); _properties.Add(_propName); _properties.Add(_propValue); } }
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); } }
static LoggerProfileSection() { _propSettings = new ConfigurationProperty(null, typeof(LoggerProfileSettingsCollection), null, ConfigurationPropertyOptions.IsDefaultCollection); _properties = new ConfigurationPropertyCollection(); _properties.Clear(); _properties.Add(_propSettings); }
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); } }
// Clear the property. public void ClearCollection() { Properties.Clear(); }