public IProviderName AddConfigSection(string sectionName) { _currentElement = new TypeRegistrationProviderElement { SectionName = sectionName }; return(this); }
public IProviderName AddProvider <TProvider>() { _currentElement = new TypeRegistrationProviderElement { ProviderTypeName = typeof(TProvider).AssemblyQualifiedName }; return(this); }