Skip to content

Commit f5b2862

Browse files
v-mepamairaw
andauthored
.NET Interactive: Enable_try_dotnet_to_batch_9 (#4283)
* enable_try_dotnet_to_batch_9 * Update xml/System/Double.xml Co-authored-by: Maira Wenzel <[email protected]> * Update xml/System/Double.xml Co-authored-by: Maira Wenzel <[email protected]> * Update xml/System/Double.xml Co-authored-by: Maira Wenzel <[email protected]> * update_syntax_for_other_languages * Update xml/System/Double.xml Co-authored-by: Maira Wenzel <[email protected]> * Update xml/System/Double.xml Co-authored-by: Maira Wenzel <[email protected]> * Update xml/System/Double.xml Co-authored-by: Maira Wenzel <[email protected]> * Update xml/System/Double.xml Co-authored-by: Maira Wenzel <[email protected]> * Update xml/System/Double.xml Co-authored-by: Maira Wenzel <[email protected]> * Update xml/System/Double.xml Co-authored-by: Maira Wenzel <[email protected]> * Update xml/System/Double.xml Co-authored-by: Maira Wenzel <[email protected]> * Update xml/System/Double.xml Co-authored-by: Maira Wenzel <[email protected]> * Update xml/System/Double.xml Co-authored-by: Maira Wenzel <[email protected]> * Update xml/System/Double.xml Co-authored-by: Maira Wenzel <[email protected]> * Update xml/System/Double.xml Co-authored-by: Maira Wenzel <[email protected]> * undo wrong suggestion Co-authored-by: Maira Wenzel <[email protected]>
1 parent 69089f0 commit f5b2862

File tree

4 files changed

+79
-80
lines changed

4 files changed

+79
-80
lines changed

xml/System.Security.Cryptography/Aes.xml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -54,9 +54,9 @@
5454
## Examples
5555
The following example demonstrates how to encrypt and decrypt sample data by using the <xref:System.Security.Cryptography.Aes> class.
5656
57-
[!code-csharp[AesSample#1](~/samples/snippets/csharp/VS_Snippets_CLR/aessample/cs/program.cs#1)]
58-
[!code-vb[AesSample#1](~/samples/snippets/visualbasic/VS_Snippets_CLR/aessample/vb/program.vb#1)]
59-
[!code-fsharp[AesSample#1](~/samples/snippets/fsharp/VS_Snippets_CLR/aessample/fs/program.fs#1)]
57+
:::code language="csharp" source="~/samples/snippets/csharp/VS_Snippets_CLR/aessample/cs/program.cs" interactive="try-dotnet" id="Snippet1":::
58+
:::code language="vb" source="~/samples/snippets/visualbasic/VS_Snippets_CLR/aessample/vb/program.vb" id="Snippet1":::
59+
:::code language="fsharp" source="~/samples/snippets/fsharp/VS_Snippets_CLR/aessample/fs/program.fs" id="Snippet1":::
6060
6161
]]></format>
6262
</remarks>

xml/System.Security.Cryptography/AesCryptoServiceProvider.xml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -43,9 +43,9 @@
4343
## Examples
4444
The following example demonstrates how to encrypt and decrypt sample data using the <xref:System.Security.Cryptography.AesCryptoServiceProvider> class.
4545
46-
[!code-csharp[AesCryptoServProvider#1](~/samples/snippets/csharp/VS_Snippets_CLR/aescryptoservprovider/cs/program.cs#1)]
47-
[!code-vb[AesCryptoServProvider#1](~/samples/snippets/visualbasic/VS_Snippets_CLR/aescryptoservprovider/vb/program.vb#1)]
48-
[!code-fsharp[AesCryptoServProvider#1](~/samples/snippets/fsharp/VS_Snippets_CLR/aescryptoservprovider/fs/program.fs#1)]
46+
:::code language="csharp" source="~/samples/snippets/csharp/VS_Snippets_CLR/aescryptoservprovider/cs/program.cs" interactive="try-dotnet" id="Snippet1":::
47+
:::code language="vb" source="~/samples/snippets/visualbasic/VS_Snippets_CLR/aescryptoservprovider/vb/program.vb" id="Snippet1":::
48+
:::code language="fsharp" source="~/samples/snippets/fsharp/VS_Snippets_CLR/aescryptoservprovider/fs/program.fs" id="Snippet1":::
4949
5050
]]></format>
5151
</remarks>

xml/System.Security.Cryptography/AesManaged.xml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -52,9 +52,9 @@
5252
## Examples
5353
The following example demonstrates how to encrypt and decrypt sample data using the <xref:System.Security.Cryptography.AesManaged> class.
5454
55-
[!code-csharp[AesManaged#1](~/samples/snippets/csharp/VS_Snippets_CLR/aesmanaged/cs/program.cs#1)]
56-
[!code-vb[AesManaged#1](~/samples/snippets/visualbasic/VS_Snippets_CLR/aesmanaged/vb/program.vb#1)]
57-
[!code-fsharp[AesManaged#1](~/samples/snippets/fsharp/VS_Snippets_CLR/aesmanaged/fs/program.fs#1)]
55+
:::code language="csharp" source="~/samples/snippets/csharp/VS_Snippets_CLR/aesmanaged/cs/program.cs" interactive="try-dotnet" id="Snippet1":::
56+
:::code language="vb" source="~/samples/snippets/visualbasic/VS_Snippets_CLR/aesmanaged/vb/program.vb" id="Snippet1":::
57+
:::code language="fsharp" source="~/samples/snippets/fsharp/VS_Snippets_CLR/aesmanaged/fs/program.fs" id="Snippet1":::
5858
5959
]]></format>
6060
</remarks>

0 commit comments

Comments
 (0)