@@ -15,23 +15,24 @@ public partial class ChainedConfigurationProvider : Microsoft.Extensions.Configu
1515 {
1616 public ChainedConfigurationProvider ( Microsoft . Extensions . Configuration . ChainedConfigurationSource source ) { }
1717 public void Dispose ( ) { }
18- public System . Collections . Generic . IEnumerable < string > GetChildKeys ( System . Collections . Generic . IEnumerable < string > earlierKeys , string parentPath ) { throw null ; }
18+ public System . Collections . Generic . IEnumerable < string > GetChildKeys ( System . Collections . Generic . IEnumerable < string > earlierKeys , string ? parentPath ) { throw null ; }
1919 public Microsoft . Extensions . Primitives . IChangeToken GetReloadToken ( ) { throw null ; }
2020 public void Load ( ) { }
21- public void Set ( string key , string value ) { }
22- public bool TryGet ( string key , out string value ) { throw null ; }
21+ public void Set ( string key , string ? value ) { }
22+ public bool TryGet ( string key , out string ? value ) { throw null ; }
2323 }
2424 public partial class ChainedConfigurationSource : Microsoft . Extensions . Configuration . IConfigurationSource
2525 {
2626 public ChainedConfigurationSource ( ) { }
27- public Microsoft . Extensions . Configuration . IConfiguration Configuration { get { throw null ; } set { } }
27+ [ System . Diagnostics . CodeAnalysis . DisallowNull ]
28+ public Microsoft . Extensions . Configuration . IConfiguration ? Configuration { get { throw null ; } set { } }
2829 public bool ShouldDisposeConfiguration { get { throw null ; } set { } }
2930 public Microsoft . Extensions . Configuration . IConfigurationProvider Build ( Microsoft . Extensions . Configuration . IConfigurationBuilder builder ) { throw null ; }
3031 }
3132 public sealed partial class ConfigurationManager : Microsoft . Extensions . Configuration . IConfigurationBuilder , Microsoft . Extensions . Configuration . IConfigurationRoot , System . IDisposable
3233 {
3334 public ConfigurationManager ( ) { }
34- public string this [ string key ] { get { throw null ; } set { throw null ; } }
35+ public string ? this [ string key ] { get { throw null ; } set { throw null ; } }
3536 public IConfigurationSection GetSection ( string key ) { throw null ; }
3637 public System . Collections . Generic . IEnumerable < IConfigurationSection > GetChildren ( ) { throw null ; }
3738 public void Dispose ( ) { throw null ; }
@@ -55,32 +56,32 @@ public partial class ConfigurationKeyComparer : System.Collections.Generic.IComp
5556 {
5657 public ConfigurationKeyComparer ( ) { }
5758 public static Microsoft . Extensions . Configuration . ConfigurationKeyComparer Instance { get { throw null ; } }
58- public int Compare ( string x , string y ) { throw null ; }
59+ public int Compare ( string ? x , string ? y ) { throw null ; }
5960 }
6061 public abstract partial class ConfigurationProvider : Microsoft . Extensions . Configuration . IConfigurationProvider
6162 {
6263 protected ConfigurationProvider ( ) { }
63- protected System . Collections . Generic . IDictionary < string , string > Data { get { throw null ; } set { } }
64- public virtual System . Collections . Generic . IEnumerable < string > GetChildKeys ( System . Collections . Generic . IEnumerable < string > earlierKeys , string parentPath ) { throw null ; }
64+ protected System . Collections . Generic . IDictionary < string , string ? > Data { get { throw null ; } set { } }
65+ public virtual System . Collections . Generic . IEnumerable < string > GetChildKeys ( System . Collections . Generic . IEnumerable < string > earlierKeys , string ? parentPath ) { throw null ; }
6566 public Microsoft . Extensions . Primitives . IChangeToken GetReloadToken ( ) { throw null ; }
6667 public virtual void Load ( ) { }
6768 protected void OnReload ( ) { }
68- public virtual void Set ( string key , string value ) { }
69+ public virtual void Set ( string key , string ? value ) { }
6970 public override string ToString ( ) { throw null ; }
70- public virtual bool TryGet ( string key , out string value ) { throw null ; }
71+ public virtual bool TryGet ( string key , out string ? value ) { throw null ; }
7172 }
7273 public partial class ConfigurationReloadToken : Microsoft . Extensions . Primitives . IChangeToken
7374 {
7475 public ConfigurationReloadToken ( ) { }
7576 public bool ActiveChangeCallbacks { get { throw null ; } }
7677 public bool HasChanged { get { throw null ; } }
7778 public void OnReload ( ) { }
78- public System . IDisposable RegisterChangeCallback ( System . Action < object > callback , object state ) { throw null ; }
79+ public System . IDisposable RegisterChangeCallback ( System . Action < object ? > callback , object ? state ) { throw null ; }
7980 }
8081 public partial class ConfigurationRoot : Microsoft . Extensions . Configuration . IConfiguration , Microsoft . Extensions . Configuration . IConfigurationRoot , System . IDisposable
8182 {
8283 public ConfigurationRoot ( System . Collections . Generic . IList < Microsoft . Extensions . Configuration . IConfigurationProvider > providers ) { }
83- public string this [ string key ] { get { throw null ; } set { } }
84+ public string ? this [ string key ] { get { throw null ; } set { } }
8485 public System . Collections . Generic . IEnumerable < Microsoft . Extensions . Configuration . IConfigurationProvider > Providers { get { throw null ; } }
8586 public void Dispose ( ) { }
8687 public System . Collections . Generic . IEnumerable < Microsoft . Extensions . Configuration . IConfigurationSection > GetChildren ( ) { throw null ; }
@@ -91,18 +92,18 @@ public void Reload() { }
9192 public partial class ConfigurationSection : Microsoft . Extensions . Configuration . IConfiguration , Microsoft . Extensions . Configuration . IConfigurationSection
9293 {
9394 public ConfigurationSection ( Microsoft . Extensions . Configuration . IConfigurationRoot root , string path ) { }
94- public string this [ string key ] { get { throw null ; } set { } }
95+ public string ? this [ string key ] { get { throw null ; } set { } }
9596 public string Key { get { throw null ; } }
9697 public string Path { get { throw null ; } }
97- public string Value { get { throw null ; } set { } }
98+ public string ? Value { get { throw null ; } set { } }
9899 public System . Collections . Generic . IEnumerable < Microsoft . Extensions . Configuration . IConfigurationSection > GetChildren ( ) { throw null ; }
99100 public Microsoft . Extensions . Primitives . IChangeToken GetReloadToken ( ) { throw null ; }
100101 public Microsoft . Extensions . Configuration . IConfigurationSection GetSection ( string key ) { throw null ; }
101102 }
102103 public static partial class MemoryConfigurationBuilderExtensions
103104 {
104105 public static Microsoft . Extensions . Configuration . IConfigurationBuilder AddInMemoryCollection ( this Microsoft . Extensions . Configuration . IConfigurationBuilder configurationBuilder ) { throw null ; }
105- public static Microsoft . Extensions . Configuration . IConfigurationBuilder AddInMemoryCollection ( this Microsoft . Extensions . Configuration . IConfigurationBuilder configurationBuilder , System . Collections . Generic . IEnumerable < System . Collections . Generic . KeyValuePair < string , string > > initialData ) { throw null ; }
106+ public static Microsoft . Extensions . Configuration . IConfigurationBuilder AddInMemoryCollection ( this Microsoft . Extensions . Configuration . IConfigurationBuilder configurationBuilder , System . Collections . Generic . IEnumerable < System . Collections . Generic . KeyValuePair < string , string ? > > ? initialData ) { throw null ; }
106107 }
107108 public abstract partial class StreamConfigurationProvider : Microsoft . Extensions . Configuration . ConfigurationProvider
108109 {
@@ -114,23 +115,24 @@ public override void Load() { }
114115 public abstract partial class StreamConfigurationSource : Microsoft . Extensions . Configuration . IConfigurationSource
115116 {
116117 protected StreamConfigurationSource ( ) { }
117- public System . IO . Stream Stream { get { throw null ; } set { } }
118+ [ System . Diagnostics . CodeAnalysis . DisallowNull ]
119+ public System . IO . Stream ? Stream { get { throw null ; } set { } }
118120 public abstract Microsoft . Extensions . Configuration . IConfigurationProvider Build ( Microsoft . Extensions . Configuration . IConfigurationBuilder builder ) ;
119121 }
120122}
121123namespace Microsoft . Extensions . Configuration . Memory
122124{
123- public partial class MemoryConfigurationProvider : Microsoft . Extensions . Configuration . ConfigurationProvider , System . Collections . Generic . IEnumerable < System . Collections . Generic . KeyValuePair < string , string > > , System . Collections . IEnumerable
125+ public partial class MemoryConfigurationProvider : Microsoft . Extensions . Configuration . ConfigurationProvider , System . Collections . Generic . IEnumerable < System . Collections . Generic . KeyValuePair < string , string ? > > , System . Collections . IEnumerable
124126 {
125127 public MemoryConfigurationProvider ( Microsoft . Extensions . Configuration . Memory . MemoryConfigurationSource source ) { }
126- public void Add ( string key , string value ) { }
127- public System . Collections . Generic . IEnumerator < System . Collections . Generic . KeyValuePair < string , string > > GetEnumerator ( ) { throw null ; }
128+ public void Add ( string key , string ? value ) { }
129+ public System . Collections . Generic . IEnumerator < System . Collections . Generic . KeyValuePair < string , string ? > > GetEnumerator ( ) { throw null ; }
128130 System . Collections . IEnumerator System . Collections . IEnumerable . GetEnumerator ( ) { throw null ; }
129131 }
130132 public partial class MemoryConfigurationSource : Microsoft . Extensions . Configuration . IConfigurationSource
131133 {
132134 public MemoryConfigurationSource ( ) { }
133- public System . Collections . Generic . IEnumerable < System . Collections . Generic . KeyValuePair < string , string > > InitialData { get { throw null ; } set { } }
135+ public System . Collections . Generic . IEnumerable < System . Collections . Generic . KeyValuePair < string , string ? > > ? InitialData { get { throw null ; } set { } }
134136 public Microsoft . Extensions . Configuration . IConfigurationProvider Build ( Microsoft . Extensions . Configuration . IConfigurationBuilder builder ) { throw null ; }
135137 }
136138}
0 commit comments