Exemple #1
0
    public bool Remove(string name)
    {
        var  contains = _nameIndex.TryGetValue(name, out var attribute);
        bool succeeded;

        if (contains)
        {
            succeeded = _collection.Remove(attribute);
        }
        else
        {
            succeeded = false;
        }

        return(succeeded);
    }
 public bool Remove(ConfigurationNode item) => _collection.Remove(item);
 /// <summary>
 ///
 /// </summary>
 /// <param name="item"></param>
 /// <returns></returns>
 public bool Remove(ConfigurationNode item)
 {
     return(_collection.Remove(item));
 }
    void IList <TextDataParameter> .RemoveAt(int index)
    {
        var parameter = _listIndex[index];

        _collection.Remove(parameter);
    }