Skip to content

Commit f84cf77

Browse files
Merge pull request #10368 from dotnet/main
Merge main into live
2 parents 6807978 + e1ba32a commit f84cf77

File tree

139 files changed

+27014
-26971
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

139 files changed

+27014
-26971
lines changed

xml/System.Security.Cryptography/CngKeyCreationOptions.xml

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -205,7 +205,7 @@
205205
</ReturnValue>
206206
<MemberValue>65536</MemberValue>
207207
<Docs>
208-
<summary>To be added.</summary>
208+
<summary>Indicates a key should be protected with Virtualization-based security (VBS).</summary>
209209
</Docs>
210210
</Member>
211211
<Member MemberName="RequireVbs">
@@ -231,7 +231,7 @@
231231
</ReturnValue>
232232
<MemberValue>131072</MemberValue>
233233
<Docs>
234-
<summary>To be added.</summary>
234+
<summary>Indicates a key must be protected with Virtualization-based security (VBS).</summary>
235235
</Docs>
236236
</Member>
237237
<Member MemberName="UsePerBootKey">
@@ -257,7 +257,9 @@
257257
</ReturnValue>
258258
<MemberValue>262144</MemberValue>
259259
<Docs>
260-
<summary>To be added.</summary>
260+
<summary>
261+
<para>Instructs Virtualization-based security (VBS) to protect the client key with a per-boot key when combined with <see cref="F:System.Security.Cryptography.CngKeyCreationOptions.RequireVbs" /> or <see cref="F:System.Security.Cryptography.CngKeyCreationOptions.PreferVbs" />.</para>
262+
</summary>
261263
</Docs>
262264
</Member>
263265
</Members>

xml/System.Security.Cryptography/SafeEvpPKeyHandle.xml

Lines changed: 15 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -260,11 +260,21 @@
260260
<Parameter Name="keyUri" Type="System.String" Index="1" FrameworkAlternate="net-9.0" />
261261
</Parameters>
262262
<Docs>
263-
<param name="providerName">To be added.</param>
264-
<param name="keyUri">To be added.</param>
265-
<summary>To be added.</summary>
266-
<returns>To be added.</returns>
267-
<remarks>To be added.</remarks>
263+
<param name="providerName">The name of the <code>OSSL_PROVIDER</code> to process the key open request.</param>
264+
<param name="keyUri">The URI assigned by the <code>OSSL_PROVIDER</code> of the key to open.</param>
265+
<summary>Opens a named key using a named <code>OSSL_PROVIDER</code>.</summary>
266+
<returns>The opened key.</returns>
267+
<remarks>
268+
<para>Both <paramref name="providerName" /> and <paramref name="keyUri" /> must be trusted inputs.</para>
269+
<para>This operation will fail if OpenSSL cannot successfully load the named <code>OSSL_PROVIDER</code>, or if the named <code>OSSL_PROVIDER</code> cannot load the named key.</para>
270+
<para>The syntax for <paramref name="keyUri" /> is determined by each individual named <code>OSSL_PROVIDER</code>.</para>
271+
</remarks>
272+
<exception cref="T:System.ArgumentNullException">
273+
<paramref name="providerName" /> or <paramref name="keyUri" /> is <see langword="null" />.</exception>
274+
<exception cref="T:System.ArgumentException">
275+
<paramref name="providerName" /> or <paramref name="keyUri" /> is the empty string.</exception>
276+
<exception cref="T:System.PlatformNotSupportedException">The current platform does not support OpenSSL Providers.</exception>
277+
<exception cref="T:System.Security.Cryptography.CryptographicException">The key could not be opened via the specified named <code>OSSL_PROVIDER</code>.</exception>
268278
</Docs>
269279
</Member>
270280
<Member MemberName="OpenPrivateKeyFromEngine">

xml/System.Windows.Annotations.Storage/AnnotationStore.xml

Lines changed: 108 additions & 108 deletions
Large diffs are not rendered by default.

xml/System.Windows.Controls.Primitives/MenuBase.xml

Lines changed: 46 additions & 46 deletions
Original file line numberDiff line numberDiff line change
@@ -33,13 +33,13 @@
3333
<Docs>
3434
<summary>Represents a control that defines choices for users to select.</summary>
3535
<remarks>
36-
<format type="text/markdown"><![CDATA[
37-
38-
## Remarks
39-
The <xref:System.Windows.Controls.Primitives.MenuBase> is the base class for controls that define choices for users to select. The <xref:System.Windows.Controls.Menu> and <xref:System.Windows.Controls.ContextMenu> inherit from <xref:System.Windows.Controls.Primitives.MenuBase> and allow the user to select an item to invoke some action.
40-
41-
<xref:System.Windows.Controls.Primitives.MenuBase> is an <xref:System.Windows.Controls.ItemsControl>, which means it can contain a collection of objects of any type (such as string, image, or panel). For more information, see the <xref:System.Windows.Controls.ItemsControl> class.
42-
36+
<format type="text/markdown"><![CDATA[
37+
38+
## Remarks
39+
The <xref:System.Windows.Controls.Primitives.MenuBase> is the base class for controls that define choices for users to select. The <xref:System.Windows.Controls.Menu> and <xref:System.Windows.Controls.ContextMenu> inherit from <xref:System.Windows.Controls.Primitives.MenuBase> and allow the user to select an item to invoke some action.
40+
41+
<xref:System.Windows.Controls.Primitives.MenuBase> is an <xref:System.Windows.Controls.ItemsControl>, which means it can contain a collection of objects of any type (such as string, image, or panel). For more information, see the <xref:System.Windows.Controls.ItemsControl> class.
42+
4343
]]></format>
4444
</remarks>
4545
</Docs>
@@ -181,19 +181,19 @@
181181
<summary>Gets or sets the custom logic for choosing a template used to display each item.</summary>
182182
<value>A custom object that provides logic and returns an item container.</value>
183183
<remarks>
184-
<format type="text/markdown"><![CDATA[
185-
186-
## Remarks
187-
Use an <xref:System.Windows.Controls.ItemContainerTemplateSelector> to choose different item containers if the items in your collection are the same type and you need to provide custom logic to choose the item container.
188-
189-
<a name="dependencyPropertyInfo_ItemContainerTemplateSelector"></a>
190-
## Dependency Property Information
191-
192-
|||
193-
|-|-|
194-
|Identifier field|<xref:System.Windows.Controls.Primitives.MenuBase.ItemContainerTemplateSelectorProperty>|
195-
|Metadata properties set to `true`|None|
196-
184+
<format type="text/markdown"><![CDATA[
185+
186+
## Remarks
187+
Use an <xref:System.Windows.Controls.ItemContainerTemplateSelector> to choose different item containers if the items in your collection are the same type and you need to provide custom logic to choose the item container.
188+
189+
<a name="dependencyPropertyInfo_ItemContainerTemplateSelector"></a>
190+
## Dependency Property Information
191+
192+
|||
193+
|-|-|
194+
|Identifier field|<xref:System.Windows.Controls.Primitives.MenuBase.ItemContainerTemplateSelectorProperty>|
195+
|Metadata properties set to `true`|None|
196+
197197
]]></format>
198198
</remarks>
199199
</Docs>
@@ -281,11 +281,11 @@
281281
<param name="e">The event data for the <see cref="E:System.Windows.UIElement.KeyDown" /> event.</param>
282282
<summary>Provides class handling for the <see cref="E:System.Windows.UIElement.KeyDown" /> routed event that occurs when the user presses a key.</summary>
283283
<remarks>
284-
<format type="text/markdown"><![CDATA[
285-
286-
## Remarks
287-
If the user presses ESC, ALT+ALT, or ALT+F10, this implementation marks the <xref:System.Windows.UIElement.KeyDown> event as handled by setting the <xref:System.Windows.RoutedEventArgs.Handled%2A> property of the event data to `true`.
288-
284+
<format type="text/markdown"><![CDATA[
285+
286+
## Remarks
287+
If the user presses ESC, ALT+ALT, or ALT+F10, this implementation marks the <xref:System.Windows.UIElement.KeyDown> event as handled by setting the <xref:System.Windows.RoutedEventArgs.Handled%2A> property of the event data to `true`.
288+
289289
]]></format>
290290
</remarks>
291291
<block subset="none" type="overrides">
@@ -321,11 +321,11 @@
321321
<param name="e">The event data for the <see cref="E:System.Windows.UIElement.MouseLeave" /> event.</param>
322322
<summary>Provides class handling for the <see cref="E:System.Windows.UIElement.MouseLeave" /> routed event that occurs when the mouse leaves the control.</summary>
323323
<remarks>
324-
<format type="text/markdown"><![CDATA[
325-
326-
## Remarks
327-
This implementation does not change the handled state (the <xref:System.Windows.RoutedEventArgs.Handled%2A> property) of the <xref:System.Windows.UIElement.MouseLeave> event data.
328-
324+
<format type="text/markdown"><![CDATA[
325+
326+
## Remarks
327+
This implementation does not change the handled state (the <xref:System.Windows.RoutedEventArgs.Handled%2A> property) of the <xref:System.Windows.UIElement.MouseLeave> event data.
328+
329329
]]></format>
330330
</remarks>
331331
<block subset="none" type="overrides">
@@ -356,23 +356,23 @@
356356
<Docs>
357357
<summary>Gets or sets a value that indicates whether the menu selects different item containers, depending on the type of the item in the underlying collection or some other heuristic.</summary>
358358
<value>
359-
<see langword="true" /> the menu selects different item containers; otherwise, <see langword="false" />.
360-
361-
The registered default is <see langword="false" />. For more information about what can influence the value, see [Dependency Property Value Precedence](/dotnet/framework/wpf/advanced/dependency-property-value-precedence).</value>
359+
<see langword="true" /> the menu selects different item containers; otherwise, <see langword="false" />.
360+
361+
The registered default is <see langword="false" />. For more information about what can influence the value, see <see href="/dotnet/framework/wpf/advanced/dependency-property-value-precedence">Dependency Property Value Precedence</see>.</value>
362362
<remarks>
363-
<format type="text/markdown"><![CDATA[
364-
365-
## Remarks
366-
This property is useful if you want to create a menu by binding to a collection. The item container is the UI element that displays the object in a collection. If you want to bind to a collection to create a menu that contains <xref:System.Windows.Controls.MenuItem> objects and <xref:System.Windows.Controls.Separator> objects, set the <xref:System.Windows.Controls.Primitives.MenuBase.UsesItemContainerTemplate%2A> property to true and create an <xref:System.Windows.Controls.ItemContainerTemplate> for each type of object in your collection. Each <xref:System.Windows.Controls.ItemContainerTemplate> must contain either a <xref:System.Windows.Controls.MenuItem> or a <xref:System.Windows.Controls.Separator>.
367-
368-
<a name="dependencyPropertyInfo_UsesItemContainerTemplate"></a>
369-
## Dependency Property Information
370-
371-
|||
372-
|-|-|
373-
|Identifier field|<xref:System.Windows.Controls.Primitives.MenuBase.UsesItemContainerTemplateProperty>|
374-
|Metadata properties set to `true`|None|
375-
363+
<format type="text/markdown"><![CDATA[
364+
365+
## Remarks
366+
This property is useful if you want to create a menu by binding to a collection. The item container is the UI element that displays the object in a collection. If you want to bind to a collection to create a menu that contains <xref:System.Windows.Controls.MenuItem> objects and <xref:System.Windows.Controls.Separator> objects, set the <xref:System.Windows.Controls.Primitives.MenuBase.UsesItemContainerTemplate%2A> property to true and create an <xref:System.Windows.Controls.ItemContainerTemplate> for each type of object in your collection. Each <xref:System.Windows.Controls.ItemContainerTemplate> must contain either a <xref:System.Windows.Controls.MenuItem> or a <xref:System.Windows.Controls.Separator>.
367+
368+
<a name="dependencyPropertyInfo_UsesItemContainerTemplate"></a>
369+
## Dependency Property Information
370+
371+
|||
372+
|-|-|
373+
|Identifier field|<xref:System.Windows.Controls.Primitives.MenuBase.UsesItemContainerTemplateProperty>|
374+
|Metadata properties set to `true`|None|
375+
376376
]]></format>
377377
</remarks>
378378
</Docs>

0 commit comments

Comments
 (0)