public BasicConfigurationElementMap() : base() { _provider = new T() as IElementProvider; string capital1 = _provider.GetElementName(); this.AddElementName = capital1; capital1 = capital1.Substring(0, 1).ToUpper() + capital1.Substring(1); this.ClearElementName = "clear" + capital1; this.RemoveElementName = "remove" + capital1; }
public string GetElementName() { return(_provider.GetElementName()); }