Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/dotnet/core.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'release-notes/7.0/preview/api-diff/rc1/Microsoft.AspNetCore.App/7.0-rc1_Microsoft.Extensions.Configuration.md')
-rw-r--r--release-notes/7.0/preview/api-diff/rc1/Microsoft.AspNetCore.App/7.0-rc1_Microsoft.Extensions.Configuration.md44
1 files changed, 44 insertions, 0 deletions
diff --git a/release-notes/7.0/preview/api-diff/rc1/Microsoft.AspNetCore.App/7.0-rc1_Microsoft.Extensions.Configuration.md b/release-notes/7.0/preview/api-diff/rc1/Microsoft.AspNetCore.App/7.0-rc1_Microsoft.Extensions.Configuration.md
new file mode 100644
index 00000000..f2a7e97d
--- /dev/null
+++ b/release-notes/7.0/preview/api-diff/rc1/Microsoft.AspNetCore.App/7.0-rc1_Microsoft.Extensions.Configuration.md
@@ -0,0 +1,44 @@
+# Microsoft.Extensions.Configuration
+
+``` diff
+ namespace Microsoft.Extensions.Configuration {
+ public static class ConfigurationBinder {
+- [RequiresUnreferencedCodeAttribute("Cannot statically analyze the type of instance so its members may be trimmed")]
+- public static void Bind(this IConfiguration configuration, object? instance);
++ [RequiresDynamicCodeAttribute("Binding strongly typed objects to configuration values requires generating dynamic code at runtime, for example instantiating generic types.")]
++ [RequiresUnreferencedCodeAttribute("Cannot statically analyze the type of instance so its members may be trimmed")]
++ public static void Bind(this IConfiguration configuration, object? instance);
+- [RequiresUnreferencedCodeAttribute("Cannot statically analyze the type of instance so its members may be trimmed")]
+- public static void Bind(this IConfiguration configuration, object? instance, Action<BinderOptions>? configureOptions);
++ [RequiresDynamicCodeAttribute("Binding strongly typed objects to configuration values requires generating dynamic code at runtime, for example instantiating generic types.")]
++ [RequiresUnreferencedCodeAttribute("Cannot statically analyze the type of instance so its members may be trimmed")]
++ public static void Bind(this IConfiguration configuration, object? instance, Action<BinderOptions>? configureOptions);
+- [RequiresUnreferencedCodeAttribute("Cannot statically analyze the type of instance so its members may be trimmed")]
+- public static void Bind(this IConfiguration configuration, string key, object? instance);
++ [RequiresDynamicCodeAttribute("Binding strongly typed objects to configuration values requires generating dynamic code at runtime, for example instantiating generic types.")]
++ [RequiresUnreferencedCodeAttribute("Cannot statically analyze the type of instance so its members may be trimmed")]
++ public static void Bind(this IConfiguration configuration, string key, object? instance);
+- [RequiresUnreferencedCodeAttribute("In case the type is non-primitive, the trimmer cannot statically analyze the object's type so its members may be trimmed.")]
+- public static object? Get(this IConfiguration configuration, Type type);
++ [RequiresDynamicCodeAttribute("Binding strongly typed objects to configuration values requires generating dynamic code at runtime, for example instantiating generic types.")]
++ [RequiresUnreferencedCodeAttribute("In case the type is non-primitive, the trimmer cannot statically analyze the object's type so its members may be trimmed.")]
++ public static object? Get(this IConfiguration configuration, Type type);
+- [RequiresUnreferencedCodeAttribute("In case the type is non-primitive, the trimmer cannot statically analyze the object's type so its members may be trimmed.")]
+- public static object? Get(this IConfiguration configuration, [DynamicallyAccessedMembersAttribute(-1)] Type type, Action<BinderOptions>? configureOptions);
++ [RequiresDynamicCodeAttribute("Binding strongly typed objects to configuration values requires generating dynamic code at runtime, for example instantiating generic types.")]
++ [RequiresUnreferencedCodeAttribute("In case the type is non-primitive, the trimmer cannot statically analyze the object's type so its members may be trimmed.")]
++ public static object? Get(this IConfiguration configuration, [DynamicallyAccessedMembersAttribute(-1)] Type type, Action<BinderOptions>? configureOptions);
+- [RequiresUnreferencedCodeAttribute("In case the type is non-primitive, the trimmer cannot statically analyze the object's type so its members may be trimmed.")]
+- public static T? Get<T>(this IConfiguration configuration);
++ [RequiresDynamicCodeAttribute("Binding strongly typed objects to configuration values requires generating dynamic code at runtime, for example instantiating generic types.")]
++ [RequiresUnreferencedCodeAttribute("In case the type is non-primitive, the trimmer cannot statically analyze the object's type so its members may be trimmed.")]
++ public static T? Get<T>(this IConfiguration configuration);
+- [RequiresUnreferencedCodeAttribute("In case the type is non-primitive, the trimmer cannot statically analyze the object's type so its members may be trimmed.")]
+- public static T? Get<T>(this IConfiguration configuration, Action<BinderOptions>? configureOptions);
++ [RequiresDynamicCodeAttribute("Binding strongly typed objects to configuration values requires generating dynamic code at runtime, for example instantiating generic types.")]
++ [RequiresUnreferencedCodeAttribute("In case the type is non-primitive, the trimmer cannot statically analyze the object's type so its members may be trimmed.")]
++ public static T? Get<T>(this IConfiguration configuration, Action<BinderOptions>? configureOptions);
+ }
+ }
+```
+