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
Create docs transport package and turn on extensions source of truth (#89312)
* Create docs ref+xml transport package
Contributes to #996.
Add a nuget package that contains all the reference assemblies and
source-of-truth API docs XML files for the current release.
* Turn on source of truth for Microsoft.Extensions.*
Make the source of truth for API docs for the Microsoft.Extensions.*
libraries dotnet/runtime instead of the intellisense package.
Disable the few projects that aren't yet documented. Same for libraries
that are already effectively source-of-truth in runtime but which aren't
documented.
* Add missing triple slash docs in Primitives
* Fill in missing keyed DI doc comments.
* Add memory cache triple slash docs
* Add more missing docs
* Add more missing docs
* More missing docs
* More docs
* More
* Add Microsoft.Extensions.Logging.Console docs
* Microsoft.Extensions.Hosting docs
* Exclude Microsoft.Bcl.*
* Update src/libraries/Microsoft.Internal.Runtime.DotNetApiDocs.Transport/src/Microsoft.Internal.Runtime.DotNetApiDocs.Transport.proj
Co-authored-by: Carlos Sánchez López <[email protected]>
---------
Co-authored-by: Tarek Mahmoud Sayed <[email protected]>
Co-authored-by: Aditya Mandaleeka <[email protected]>
Co-authored-by: Carlos Sánchez López <[email protected]>
<UseCompilerGeneratedDocXmlFileCondition="'$(UseCompilerGeneratedDocXmlFile)' == '' and $(MSBuildProjectName.StartsWith('Microsoft.Extensions.'))">true</UseCompilerGeneratedDocXmlFile>
<IntellisensePackageXmlFilePathCondition="'$(IntellisensePackageXmlFilePath)' == '' and Exists($(IntellisensePackageXmlFilePathFromNetFolder))">$(IntellisensePackageXmlFilePathFromNetFolder)</IntellisensePackageXmlFilePath>
20
12
<IntellisensePackageXmlFilePathCondition="'$(IntellisensePackageXmlFilePath)' == '' and Exists($(IntellisensePackageXmlFilePathFromDotNetPlatExtFolder))">$(IntellisensePackageXmlFilePathFromDotNetPlatExtFolder)</IntellisensePackageXmlFilePath>
13
+
14
+
<!-- If the intellisense package doesn't provide an XML, use the compiler generated one instead. -->
15
+
<UseCompilerGeneratedDocXmlFileCondition="'$(IntellisensePackageXmlFilePath)' == '' and '$(GenerateDocumentationFile)' == 'true'">true</UseCompilerGeneratedDocXmlFile>
16
+
21
17
<!-- Suppress "CS1591 - Missing XML comment for publicly visible type or member" compiler errors if
22
18
- the intellisense package xml file is used or
23
19
- the assembly is private (i.e. System.Private.Uri) or
24
20
- the assembly is a PNSE assembly. -->
25
-
<NoWarnCondition="'$(IntellisensePackageXmlFilePath)' != '' or
21
+
<NoWarnCondition="'$(UseCompilerGeneratedDocXmlFile)' != 'true' or
/// Gets the value associated with this key if it exists, or generates a new entry using the provided key and a value from the given factory if the key is not found.
162
+
/// </summary>
163
+
/// <typeparam name="TItem">The type of the object to get.</typeparam>
164
+
/// <param name="cache">The <see cref="IMemoryCache"/> instance this method extends.</param>
165
+
/// <param name="key">The key of the entry to look for or create.</param>
166
+
/// <param name="factory">The factory that creates the value associated with this key if the key does not exist in the cache.</param>
167
+
/// <returns>The value associated with this key.</returns>
/// Asynchronously gets the value associated with this key if it exists, or generates a new entry using the provided key and a value from the given factory if the key is not found.
183
+
/// </summary>
184
+
/// <typeparam name="TItem">The type of the object to get.</typeparam>
185
+
/// <param name="cache">The <see cref="IMemoryCache"/> instance this method extends.</param>
186
+
/// <param name="key">The key of the entry to look for or create.</param>
187
+
/// <param name="factory">The factory task that creates the value associated with this key if the key does not exist in the cache.</param>
188
+
/// <returns>The task object representing the asynchronous operation.</returns>
0 commit comments