1 <?xml version="1.0"?>
\r
4 <name>Microsoft.Extensions.Options.DataAnnotations</name>
\r
7 <member name="T:Microsoft.Extensions.Options.DataAnnotationValidateOptions`1">
\r
9 Implementation of <see cref="T:Microsoft.Extensions.Options.IValidateOptions`1"/> that uses DataAnnotation's <see cref="T:System.ComponentModel.DataAnnotations.Validator"/> for validation.
\r
11 <typeparam name="TOptions">The instance being validated.</typeparam>
\r
13 <member name="M:Microsoft.Extensions.Options.DataAnnotationValidateOptions`1.#ctor(System.String)">
\r
17 <param name="name">The name of the option.</param>
\r
19 <member name="P:Microsoft.Extensions.Options.DataAnnotationValidateOptions`1.Name">
\r
24 <member name="M:Microsoft.Extensions.Options.DataAnnotationValidateOptions`1.Validate(System.String,`0)">
\r
26 Validates a specific named options instance (or all when <paramref name="name"/> is null).
\r
28 <param name="name">The name of the options instance being validated.</param>
\r
29 <param name="options">The options instance.</param>
\r
30 <returns>The <see cref="T:Microsoft.Extensions.Options.ValidateOptionsResult"/> result.</returns>
\r
32 <member name="T:Microsoft.Extensions.DependencyInjection.OptionsBuilderDataAnnotationsExtensions">
\r
34 Extension methods for adding configuration related options services to the DI container via <see cref="T:Microsoft.Extensions.Options.OptionsBuilder`1"/>.
\r
37 <member name="M:Microsoft.Extensions.DependencyInjection.OptionsBuilderDataAnnotationsExtensions.ValidateDataAnnotations``1(Microsoft.Extensions.Options.OptionsBuilder{``0})">
\r
39 Register this options instance for validation of its DataAnnotations.
\r
41 <typeparam name="TOptions">The options type to be configured.</typeparam>
\r
42 <param name="optionsBuilder">The options builder to add the services to.</param>
\r
43 <returns>The <see cref="T:Microsoft.Extensions.Options.OptionsBuilder`1"/> so that additional calls can be chained.</returns>
\r
45 <member name="T:System.Diagnostics.CodeAnalysis.RequiresUnreferencedCodeAttribute">
\r
47 Indicates that the specified method requires dynamic access to code that is not referenced
\r
48 statically, for example through <see cref="N:System.Reflection"/>.
\r
51 This allows tools to understand which methods are unsafe to call when removing unreferenced
\r
52 code from an application.
\r
55 <member name="M:System.Diagnostics.CodeAnalysis.RequiresUnreferencedCodeAttribute.#ctor(System.String)">
\r
57 Initializes a new instance of the <see cref="T:System.Diagnostics.CodeAnalysis.RequiresUnreferencedCodeAttribute"/> class
\r
58 with the specified message.
\r
60 <param name="message">
\r
61 A message that contains information about the usage of unreferenced code.
\r
64 <member name="P:System.Diagnostics.CodeAnalysis.RequiresUnreferencedCodeAttribute.Message">
\r
66 Gets a message that contains information about the usage of unreferenced code.
\r
69 <member name="P:System.Diagnostics.CodeAnalysis.RequiresUnreferencedCodeAttribute.Url">
\r
71 Gets or sets an optional URL that contains more information about the method,
\r
72 why it requries unreferenced code, and what options a consumer has to deal with it.
\r
75 <member name="T:System.Diagnostics.CodeAnalysis.DynamicallyAccessedMemberTypes">
\r
77 Specifies the types of members that are dynamically accessed.
\r
79 This enumeration has a <see cref="T:System.FlagsAttribute"/> attribute that allows a
\r
80 bitwise combination of its member values.
\r
83 <member name="F:System.Diagnostics.CodeAnalysis.DynamicallyAccessedMemberTypes.None">
\r
85 Specifies no members.
\r
88 <member name="F:System.Diagnostics.CodeAnalysis.DynamicallyAccessedMemberTypes.PublicParameterlessConstructor">
\r
90 Specifies the default, parameterless public constructor.
\r
93 <member name="F:System.Diagnostics.CodeAnalysis.DynamicallyAccessedMemberTypes.PublicConstructors">
\r
95 Specifies all public constructors.
\r
98 <member name="F:System.Diagnostics.CodeAnalysis.DynamicallyAccessedMemberTypes.NonPublicConstructors">
\r
100 Specifies all non-public constructors.
\r
103 <member name="F:System.Diagnostics.CodeAnalysis.DynamicallyAccessedMemberTypes.PublicMethods">
\r
105 Specifies all public methods.
\r
108 <member name="F:System.Diagnostics.CodeAnalysis.DynamicallyAccessedMemberTypes.NonPublicMethods">
\r
110 Specifies all non-public methods.
\r
113 <member name="F:System.Diagnostics.CodeAnalysis.DynamicallyAccessedMemberTypes.PublicFields">
\r
115 Specifies all public fields.
\r
118 <member name="F:System.Diagnostics.CodeAnalysis.DynamicallyAccessedMemberTypes.NonPublicFields">
\r
120 Specifies all non-public fields.
\r
123 <member name="F:System.Diagnostics.CodeAnalysis.DynamicallyAccessedMemberTypes.PublicNestedTypes">
\r
125 Specifies all public nested types.
\r
128 <member name="F:System.Diagnostics.CodeAnalysis.DynamicallyAccessedMemberTypes.NonPublicNestedTypes">
\r
130 Specifies all non-public nested types.
\r
133 <member name="F:System.Diagnostics.CodeAnalysis.DynamicallyAccessedMemberTypes.PublicProperties">
\r
135 Specifies all public properties.
\r
138 <member name="F:System.Diagnostics.CodeAnalysis.DynamicallyAccessedMemberTypes.NonPublicProperties">
\r
140 Specifies all non-public properties.
\r
143 <member name="F:System.Diagnostics.CodeAnalysis.DynamicallyAccessedMemberTypes.PublicEvents">
\r
145 Specifies all public events.
\r
148 <member name="F:System.Diagnostics.CodeAnalysis.DynamicallyAccessedMemberTypes.NonPublicEvents">
\r
150 Specifies all non-public events.
\r
153 <member name="F:System.Diagnostics.CodeAnalysis.DynamicallyAccessedMemberTypes.Interfaces">
\r
155 Specifies all interfaces implemented by the type.
\r
158 <member name="F:System.Diagnostics.CodeAnalysis.DynamicallyAccessedMemberTypes.All">
\r
160 Specifies all members.
\r
163 <member name="T:System.Diagnostics.CodeAnalysis.DynamicallyAccessedMembersAttribute">
\r
165 Indicates that certain members on a specified <see cref="T:System.Type"/> are accessed dynamically,
\r
166 for example through <see cref="N:System.Reflection"/>.
\r
169 This allows tools to understand which members are being accessed during the execution
\r
172 This attribute is valid on members whose type is <see cref="T:System.Type"/> or <see cref="T:System.String"/>.
\r
174 When this attribute is applied to a location of type <see cref="T:System.String"/>, the assumption is
\r
175 that the string represents a fully qualified type name.
\r
177 When this attribute is applied to a class, interface, or struct, the members specified
\r
178 can be accessed dynamically on <see cref="T:System.Type"/> instances returned from calling
\r
179 <see cref="M:System.Object.GetType"/> on instances of that class, interface, or struct.
\r
181 If the attribute is applied to a method it's treated as a special case and it implies
\r
182 the attribute should be applied to the "this" parameter of the method. As such the attribute
\r
183 should only be used on instance methods of types assignable to System.Type (or string, but no methods
\r
184 will use it there).
\r
187 <member name="M:System.Diagnostics.CodeAnalysis.DynamicallyAccessedMembersAttribute.#ctor(System.Diagnostics.CodeAnalysis.DynamicallyAccessedMemberTypes)">
\r
189 Initializes a new instance of the <see cref="T:System.Diagnostics.CodeAnalysis.DynamicallyAccessedMembersAttribute"/> class
\r
190 with the specified member types.
\r
192 <param name="memberTypes">The types of members dynamically accessed.</param>
\r
194 <member name="P:System.Diagnostics.CodeAnalysis.DynamicallyAccessedMembersAttribute.MemberTypes">
\r
196 Gets the <see cref="T:System.Diagnostics.CodeAnalysis.DynamicallyAccessedMemberTypes"/> which specifies the type
\r
197 of members dynamically accessed.
\r
200 <member name="T:System.Diagnostics.CodeAnalysis.UnconditionalSuppressMessageAttribute">
\r
202 Suppresses reporting of a specific rule violation, allowing multiple suppressions on a
\r
203 single code artifact.
\r
206 <see cref="T:System.Diagnostics.CodeAnalysis.UnconditionalSuppressMessageAttribute"/> is different than
\r
207 <see cref="T:System.Diagnostics.CodeAnalysis.SuppressMessageAttribute"/> in that it doesn't have a
\r
208 <see cref="T:System.Diagnostics.ConditionalAttribute"/>. So it is always preserved in the compiled assembly.
\r
211 <member name="M:System.Diagnostics.CodeAnalysis.UnconditionalSuppressMessageAttribute.#ctor(System.String,System.String)">
\r
213 Initializes a new instance of the <see cref="T:System.Diagnostics.CodeAnalysis.UnconditionalSuppressMessageAttribute"/>
\r
214 class, specifying the category of the tool and the identifier for an analysis rule.
\r
216 <param name="category">The category for the attribute.</param>
\r
217 <param name="checkId">The identifier of the analysis rule the attribute applies to.</param>
\r
219 <member name="P:System.Diagnostics.CodeAnalysis.UnconditionalSuppressMessageAttribute.Category">
\r
221 Gets the category identifying the classification of the attribute.
\r
224 The <see cref="P:System.Diagnostics.CodeAnalysis.UnconditionalSuppressMessageAttribute.Category"/> property describes the tool or tool analysis category
\r
225 for which a message suppression attribute applies.
\r
228 <member name="P:System.Diagnostics.CodeAnalysis.UnconditionalSuppressMessageAttribute.CheckId">
\r
230 Gets the identifier of the analysis tool rule to be suppressed.
\r
233 Concatenated together, the <see cref="P:System.Diagnostics.CodeAnalysis.UnconditionalSuppressMessageAttribute.Category"/> and <see cref="P:System.Diagnostics.CodeAnalysis.UnconditionalSuppressMessageAttribute.CheckId"/>
\r
234 properties form a unique check identifier.
\r
237 <member name="P:System.Diagnostics.CodeAnalysis.UnconditionalSuppressMessageAttribute.Scope">
\r
239 Gets or sets the scope of the code that is relevant for the attribute.
\r
242 The Scope property is an optional argument that specifies the metadata scope for which
\r
243 the attribute is relevant.
\r
246 <member name="P:System.Diagnostics.CodeAnalysis.UnconditionalSuppressMessageAttribute.Target">
\r
248 Gets or sets a fully qualified path that represents the target of the attribute.
\r
251 The <see cref="P:System.Diagnostics.CodeAnalysis.UnconditionalSuppressMessageAttribute.Target"/> property is an optional argument identifying the analysis target
\r
252 of the attribute. An example value is "System.IO.Stream.ctor():System.Void".
\r
253 Because it is fully qualified, it can be long, particularly for targets such as parameters.
\r
254 The analysis tool user interface should be capable of automatically formatting the parameter.
\r
257 <member name="P:System.Diagnostics.CodeAnalysis.UnconditionalSuppressMessageAttribute.MessageId">
\r
259 Gets or sets an optional argument expanding on exclusion criteria.
\r
262 The <see cref="P:System.Diagnostics.CodeAnalysis.UnconditionalSuppressMessageAttribute.MessageId"/> property is an optional argument that specifies additional
\r
263 exclusion where the literal metadata target is not sufficiently precise. For example,
\r
264 the <see cref="T:System.Diagnostics.CodeAnalysis.UnconditionalSuppressMessageAttribute"/> cannot be applied within a method,
\r
265 and it may be desirable to suppress a violation against a statement in the method that will
\r
266 give a rule violation, but not against all statements in the method.
\r
269 <member name="P:System.Diagnostics.CodeAnalysis.UnconditionalSuppressMessageAttribute.Justification">
\r
271 Gets or sets the justification for suppressing the code analysis message.
\r