CollectionExtensions.GetRuntimeFileAssets Method

Definition

Gets an enumeration of RuntimeFile where each value's Runtime equals runtime.

public:
[System::Runtime::CompilerServices::Extension]
 static System::Collections::Generic::IEnumerable<Microsoft::Extensions::DependencyModel::RuntimeFile ^> ^ GetRuntimeFileAssets(System::Collections::Generic::IEnumerable<Microsoft::Extensions::DependencyModel::RuntimeAssetGroup ^> ^ self, System::String ^ runtime);
public static System.Collections.Generic.IEnumerable<Microsoft.Extensions.DependencyModel.RuntimeFile> GetRuntimeFileAssets (this System.Collections.Generic.IEnumerable<Microsoft.Extensions.DependencyModel.RuntimeAssetGroup> self, string runtime);
static member GetRuntimeFileAssets : seq<Microsoft.Extensions.DependencyModel.RuntimeAssetGroup> * string -> seq<Microsoft.Extensions.DependencyModel.RuntimeFile>
<Extension()>
Public Function GetRuntimeFileAssets (self As IEnumerable(Of RuntimeAssetGroup), runtime As String) As IEnumerable(Of RuntimeFile)

Parameters

self
IEnumerable<RuntimeAssetGroup>

The source enumeration of RuntimeAssetGroup.

runtime
String

The string to search for.

Returns

IEnumerable<RuntimeFile>

An enumeration of RuntimeFile, where each value's Runtime equals runtime.

Exceptions

runtime is null or empty.

Applies to