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