|
16 | 16 | </Base> |
17 | 17 | <Interfaces /> |
18 | 18 | <Docs> |
19 | | - <summary>To be added.</summary> |
20 | | - <remarks>To be added.</remarks> |
| 19 | + <summary>Provides information about application dependencies.</summary> |
| 20 | + <remarks> |
| 21 | + <format type="text/markdown"><![CDATA[ |
| 22 | +
|
| 23 | +## Remarks |
| 24 | +
|
| 25 | +When a .NET application is compiled, the SDK generates a JSON manifest file (`<ApplicationName>.deps.json`) that contains information about application dependencies. You can use the `DependencyContext` class to read information from this manifest at run time. |
| 26 | +
|
| 27 | +## Examples |
| 28 | +
|
| 29 | +This example shows how to display the current application's target framework and run-time dependencies: |
| 30 | +
|
| 31 | +:::code language="csharp" source="~/snippets/csharp/Microsoft.Extensions.DependencyModel/DependencyContext/Overview/DependencyContextSnippets.cs" id="SnippetPrintDependencyInformation"::: |
| 32 | +
|
| 33 | + ]]></format> |
| 34 | + </remarks> |
21 | 35 | </Docs> |
22 | 36 | <Members> |
23 | 37 | <Member MemberName=".ctor"> |
|
42 | 56 | <Parameter Name="runtimeGraph" Type="System.Collections.Generic.IEnumerable<Microsoft.Extensions.DependencyModel.RuntimeFallbacks>" /> |
43 | 57 | </Parameters> |
44 | 58 | <Docs> |
45 | | - <param name="target">To be added.</param> |
46 | | - <param name="compilationOptions">To be added.</param> |
47 | | - <param name="compileLibraries">To be added.</param> |
48 | | - <param name="runtimeLibraries">To be added.</param> |
49 | | - <param name="runtimeGraph">To be added.</param> |
50 | | - <summary>To be added.</summary> |
| 59 | + <param name="target">Target runtime information.</param> |
| 60 | + <param name="compilationOptions">Compilation options.</param> |
| 61 | + <param name="compileLibraries">Compilation libraries.</param> |
| 62 | + <param name="runtimeLibraries">Runtime libraries.</param> |
| 63 | + <param name="runtimeGraph">Runtime identifiers graph.</param> |
| 64 | + <summary>Initializes a new instance of the <see cref="T:Microsoft.Extensions.DependencyModel.DependencyContext" /> class.</summary> |
51 | 65 | <remarks>To be added.</remarks> |
52 | 66 | </Docs> |
53 | 67 | </Member> |
|
69 | 83 | <ReturnType>Microsoft.Extensions.DependencyModel.CompilationOptions</ReturnType> |
70 | 84 | </ReturnValue> |
71 | 85 | <Docs> |
72 | | - <summary>To be added.</summary> |
73 | | - <value>To be added.</value> |
| 86 | + <summary>Gets the compilation options used to compile the application.</summary> |
| 87 | + <value>The compilation options used to compile the application.</value> |
74 | 88 | <remarks>To be added.</remarks> |
75 | 89 | </Docs> |
76 | 90 | </Member> |
|
92 | 106 | <ReturnType>System.Collections.Generic.IReadOnlyList<Microsoft.Extensions.DependencyModel.CompilationLibrary></ReturnType> |
93 | 107 | </ReturnValue> |
94 | 108 | <Docs> |
95 | | - <summary>To be added.</summary> |
96 | | - <value>To be added.</value> |
97 | | - <remarks>To be added.</remarks> |
| 109 | + <summary>Gets the list of libraries used to compile the application.</summary> |
| 110 | + <value>The list of libraries used to compile the application.</value> |
| 111 | + <remarks> |
| 112 | + <format type="text/markdown">< project property is set to `True`. Otherwise, the contents of this property might be incomplete or empty. |
| 117 | +
|
| 118 | + ]]></format> |
| 119 | + </remarks> |
98 | 120 | </Docs> |
99 | 121 | </Member> |
100 | 122 | <Member MemberName="Default"> |
|
122 | 144 | <ReturnType>Microsoft.Extensions.DependencyModel.DependencyContext</ReturnType> |
123 | 145 | </ReturnValue> |
124 | 146 | <Docs> |
125 | | - <summary>To be added.</summary> |
126 | | - <value>To be added.</value> |
| 147 | + <summary>Gets the dependency context for the current application.</summary> |
| 148 | + <value>The dependency context for the current application.</value> |
127 | 149 | <remarks>To be added.</remarks> |
128 | 150 | </Docs> |
129 | 151 | </Member> |
|
155 | 177 | <Parameter Name="assembly" Type="System.Reflection.Assembly" /> |
156 | 178 | </Parameters> |
157 | 179 | <Docs> |
158 | | - <param name="assembly">To be added.</param> |
159 | | - <summary>To be added.</summary> |
160 | | - <returns>To be added.</returns> |
| 180 | + <param name="assembly">The assembly to load dependency context for.</param> |
| 181 | + <summary>Loads the dependency context for the specified assembly.</summary> |
| 182 | + <returns>The dependency context for the specified assembly, or <c>null</c> when dependency context is not available.</returns> |
161 | 183 | <remarks>To be added.</remarks> |
162 | 184 | </Docs> |
163 | 185 | </Member> |
|
182 | 204 | <Parameter Name="other" Type="Microsoft.Extensions.DependencyModel.DependencyContext" /> |
183 | 205 | </Parameters> |
184 | 206 | <Docs> |
185 | | - <param name="other">To be added.</param> |
186 | | - <summary>To be added.</summary> |
187 | | - <returns>To be added.</returns> |
| 207 | + <param name="other">The dependency context to merge.</param> |
| 208 | + <summary>Merges the current dependency context with the specifed one.</summary> |
| 209 | + <returns>The dependency context that results from merging dependencies of the current context with the specified one.</returns> |
188 | 210 | <remarks>To be added.</remarks> |
189 | 211 | </Docs> |
190 | 212 | </Member> |
|
206 | 228 | <ReturnType>System.Collections.Generic.IReadOnlyList<Microsoft.Extensions.DependencyModel.RuntimeFallbacks></ReturnType> |
207 | 229 | </ReturnValue> |
208 | 230 | <Docs> |
209 | | - <summary>To be added.</summary> |
210 | | - <value>To be added.</value> |
211 | | - <remarks>To be added.</remarks> |
| 231 | + <summary>Gets a runtime identifiers graph.</summary> |
| 232 | + <value>A runtime identifiers graph.</value> |
| 233 | + <remarks> |
| 234 | + <format type="text/markdown"><. |
| 239 | +
|
| 240 | + ]]></format> |
| 241 | + </remarks> |
212 | 242 | </Docs> |
213 | 243 | </Member> |
214 | 244 | <Member MemberName="RuntimeLibraries"> |
|
229 | 259 | <ReturnType>System.Collections.Generic.IReadOnlyList<Microsoft.Extensions.DependencyModel.RuntimeLibrary></ReturnType> |
230 | 260 | </ReturnValue> |
231 | 261 | <Docs> |
232 | | - <summary>To be added.</summary> |
233 | | - <value>To be added.</value> |
| 262 | + <summary>Gets the list of libraries used by the application at run time.</summary> |
| 263 | + <value>The list of libraries used by the application at run time.</value> |
234 | 264 | <remarks>To be added.</remarks> |
235 | 265 | </Docs> |
236 | 266 | </Member> |
|
252 | 282 | <ReturnType>Microsoft.Extensions.DependencyModel.TargetInfo</ReturnType> |
253 | 283 | </ReturnValue> |
254 | 284 | <Docs> |
255 | | - <summary>To be added.</summary> |
256 | | - <value>To be added.</value> |
| 285 | + <summary>Gets information about the application's target runtime.</summary> |
| 286 | + <value>The application's target runtime information.</value> |
257 | 287 | <remarks>To be added.</remarks> |
258 | 288 | </Docs> |
259 | 289 | </Member> |
|
0 commit comments