CollectionExtensions.GetRuntimeAssets Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets an enumeration of assets where each asset's value equals runtime
.
public:
[System::Runtime::CompilerServices::Extension]
static System::Collections::Generic::IEnumerable<System::String ^> ^ GetRuntimeAssets(System::Collections::Generic::IEnumerable<Microsoft::Extensions::DependencyModel::RuntimeAssetGroup ^> ^ self, System::String ^ runtime);
public static System.Collections.Generic.IEnumerable<string> GetRuntimeAssets (this System.Collections.Generic.IEnumerable<Microsoft.Extensions.DependencyModel.RuntimeAssetGroup> self, string runtime);
static member GetRuntimeAssets : seq<Microsoft.Extensions.DependencyModel.RuntimeAssetGroup> * string -> seq<string>
<Extension()>
Public Function GetRuntimeAssets (self As IEnumerable(Of RuntimeAssetGroup), runtime As String) As IEnumerable(Of String)
Parameters
- self
- IEnumerable<RuntimeAssetGroup>
The source enumeration of RuntimeAssetGroup.
- runtime
- String
The string to search for.
Returns
An enumeration of assets where each asset's Runtime equals runtime
.
Exceptions
self
is null
.
Applies to
Zusammenarbeit auf GitHub
Die Quelle für diesen Inhalt finden Sie auf GitHub, wo Sie auch Issues und Pull Requests erstellen und überprüfen können. Weitere Informationen finden Sie in unserem Leitfaden für Mitwirkende.
Feedback
https://aka.ms/ContentUserFeedback.
Bald verfügbar: Im Laufe des Jahres 2024 werden wir GitHub-Issues stufenweise als Feedbackmechanismus für Inhalte abbauen und durch ein neues Feedbacksystem ersetzen. Weitere Informationen finden Sie unterFeedback senden und anzeigen für