Xunit.DependencyContextAssemblyCache.GetFallbacks(System.Collections.Generic.IReadOnlyList)

Here are the examples of the csharp api Xunit.DependencyContextAssemblyCache.GetFallbacks(System.Collections.Generic.IReadOnlyList) taken from open source projects. By voting up you can indicate which examples are most useful and appropriate.

1 Examples 7

19 Source : DependencyContextAssemblyCache.cs
with MIT License
from dotnet

List<string> GetCompatibleRuntimes(DependencyContext dependencyContext)
        {
            var result = new List<string>(GetFallbacks(dependencyContext.RuntimeGraph).Fallbacks);
            result.Insert(0, fallbackRuntimeIdentifier.IsValueCreated ? fallbackRuntimeIdentifier.Value : currentRuntimeIdentifier);
            result.Add(string.Empty);
            return result;
        }