You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: xml/System.Runtime.Loader/AssemblyLoadContext+ContextualReflectionScope.xml
+3-3Lines changed: 3 additions & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -18,7 +18,7 @@
18
18
</Interface>
19
19
</Interfaces>
20
20
<Docs>
21
-
<summary>To be added.</summary>
21
+
<summary>Provides a return type used exclusively for <seecref="M:System.Runtime.Loader.AssemblyLoadContext.EnterContextualReflection" />. It is intended to be used as an <seecref="T:System.IDisposable" /> in a <seelangword="using" /> block.</summary>
22
22
<remarks>To be added.</remarks>
23
23
</Docs>
24
24
<Members>
@@ -42,9 +42,9 @@
42
42
</ReturnValue>
43
43
<Parameters />
44
44
<Docs>
45
-
<summary>To be added.</summary>
45
+
<summary>Sets <seecref="P:System.Runtime.Loader.AssemblyLoadContext.CurrentContextualReflectionContext" /> to the value preceding the call to <seecref="M:System.Runtime.Loader.AssemblyLoadContext.EnterContextualReflection" /> which returned this instance.</summary>
Copy file name to clipboardExpand all lines: xml/System.Runtime.Loader/AssemblyLoadContext.xml
+52-22Lines changed: 52 additions & 22 deletions
Original file line number
Diff line number
Diff line change
@@ -124,9 +124,17 @@ This constructor is protected. It can only be called from the <xref:System.Runti
124
124
</Parameters>
125
125
<Docs>
126
126
<paramname="isCollectible">
127
-
<seelangword="true" /> to enable garbage collection; otherwise, <seelangword="false" />.</param>
128
-
<summary>Initializes a new instance of the <seecref="T:System.Runtime.Loader.AssemblyLoadContext" /> class with a value that indicates whether garbage collection is enabled. </summary>
129
-
<remarks>To be added.</remarks>
127
+
<seelangword="true" /> to enable <seecref="M:System.Runtime.Loader.AssemblyLoadContext.Unload" />; otherwise, <seelangword="false" />. The default value is <seelangword="false" /> because there is a performance cost associated with enabling unloading.</param>
128
+
<summary>Initializes a new instance of the <seecref="T:System.Runtime.Loader.AssemblyLoadContext" /> class with a value that indicates whether unloading is enabled. </summary>
129
+
<remarks>
130
+
<formattype="text/markdown"><![CDATA[
131
+
132
+
## Remarks
133
+
134
+
This constructor is protected. It can only be called from the <xref:System.Runtime.Loader.AssemblyLoadContext> class or its derived classes.
135
+
136
+
]]></format>
137
+
</remarks>
130
138
</Docs>
131
139
</Member>
132
140
<MemberMemberName=".ctor">
@@ -145,9 +153,10 @@ This constructor is protected. It can only be called from the <xref:System.Runti
<paramname="name">The value for <seecref="P:System.Runtime.Loader.AssemblyLoadContext.Name" /> in the new instance. Its value can be <seelangword="null" />.</param>
157
+
<paramname="isCollectible">
158
+
<seelangword="true" /> to enable <seecref="M:System.Runtime.Loader.AssemblyLoadContext.Unload" />; otherwise, <seelangword="false" />. The default value is <seelangword="false" /> because there is a performance cost associated with enabling unloading.</param>
159
+
<summary>Initializes a new instance of the <seecref="T:System.Runtime.Loader.AssemblyLoadContext" /> class with a name and a value that indicates whether unloading is enabled.</summary>
151
160
<remarks>To be added.</remarks>
152
161
</Docs>
153
162
</Member>
@@ -167,8 +176,8 @@ This constructor is protected. It can only be called from the <xref:System.Runti
<summary>Returns a collection of the <seecref="T:System.Reflection.Assembly" /> instances loaded in the <seecref="T:System.Runtime.Loader.AssemblyLoadContext" />.</summary>
201
+
<value>A collection of the <seecref="T:System.Reflection.Assembly" /> instances loaded in the <seecref="T:System.Runtime.Loader.AssemblyLoadContext" />.</value>
193
202
<remarks>To be added.</remarks>
194
203
</Docs>
195
204
</Member>
@@ -209,9 +218,16 @@ This constructor is protected. It can only be called from the <xref:System.Runti
<summary>Gets the <seecref="T:System.Runtime.Loader.AssemblyLoadContext" /> set by the most recent call to <seecref="M:System.Runtime.Loader.AssemblyLoadContext.EnterContextualReflection" />.</summary>
222
+
<value>The <seecref="T:System.Runtime.Loader.AssemblyLoadContext" /> set by the most recent call to <seecref="M:System.Runtime.Loader.AssemblyLoadContext.EnterContextualReflection" />. This value can be <seelangword="null" />. The value is stored in an <seecref="T:System.Threading.AsyncLocal`1" />, so the value is unique per asynchronous context.</value>
223
+
<remarks>
224
+
<formattype="text/markdown"><.
228
+
229
+
]]></format>
230
+
</remarks>
215
231
</Docs>
216
232
</Member>
217
233
<MemberMemberName="Default">
@@ -259,9 +275,16 @@ This constructor is protected. It can only be called from the <xref:System.Runti
259
275
</ReturnValue>
260
276
<Parameters />
261
277
<Docs>
262
-
<summary>To be added.</summary>
263
-
<returns>To be added.</returns>
264
-
<remarks>To be added.</remarks>
278
+
<summary>Sets <seecref="P:System.Runtime.Loader.AssemblyLoadContext.CurrentContextualReflectionContext" /> to <seelangword="this" /> <seecref="T:System.Runtime.Loader.AssemblyLoadContext" />.</summary>
279
+
<returns>An object to restore the previous value of <seecref="P:System.Runtime.Loader.AssemblyLoadContext.CurrentContextualReflectionContext" />. It is intended to be used as an <seecref="T:System.IDisposable" /> in a <seelangword="using" /> block.</returns>
280
+
<remarks>
281
+
<formattype="text/markdown"><.
285
+
286
+
]]></format>
287
+
</remarks>
265
288
</Docs>
266
289
</Member>
267
290
<MemberMemberName="EnterContextualReflection">
@@ -283,10 +306,17 @@ This constructor is protected. It can only be called from the <xref:System.Runti
<paramname="activating">The assembly that is used to determine the requested <seecref="T:System.Runtime.Loader.AssemblyLoadContext" /> instance.</param>
310
+
<summary>Sets <seecref="P:System.Runtime.Loader.AssemblyLoadContext.CurrentContextualReflectionContext" /> to the <seecref="T:System.Runtime.Loader.AssemblyLoadContext" /> which loaded the assembly.</summary>
311
+
<returns>An object to restore the previous value of <seecref="P:System.Runtime.Loader.AssemblyLoadContext.CurrentContextualReflectionContext" />. It is intended to be used as an <seecref="T:System.IDisposable" /> in a <seelangword="using" /> block.</returns>
312
+
<remarks>
313
+
<formattype="text/markdown"><.
317
+
318
+
]]></format>
319
+
</remarks>
290
320
</Docs>
291
321
</Member>
292
322
<MemberMemberName="GetAssemblyName">
@@ -744,8 +774,8 @@ Each <xref:System.Runtime.Loader.AssemblyLoadContext> can load only:
744
774
<ReturnType>System.String</ReturnType>
745
775
</ReturnValue>
746
776
<Docs>
747
-
<summary>To be added.</summary>
748
-
<value>To be added.</value>
777
+
<summary>Get the name of the <seecref="T:System.Runtime.Loader.AssemblyLoadContext" />.</summary>
778
+
<value>The name of the <seecref="T:System.Runtime.Loader.AssemblyLoadContext" />. Its value can be <seelangword="null" />.</value>
0 commit comments