Shuttle.Core.Reflection
20.0.0
Prefix Reserved
dotnet add package Shuttle.Core.Reflection --version 20.0.0
NuGet\Install-Package Shuttle.Core.Reflection -Version 20.0.0
<PackageReference Include="Shuttle.Core.Reflection" Version="20.0.0" />
paket add Shuttle.Core.Reflection --version 20.0.0
#r "nuget: Shuttle.Core.Reflection, 20.0.0"
// Install Shuttle.Core.Reflection as a Cake Addin #addin nuget:?package=Shuttle.Core.Reflection&version=20.0.0 // Install Shuttle.Core.Reflection as a Cake Tool #tool nuget:?package=Shuttle.Core.Reflection&version=20.0.0
Shuttle.Core.Reflection
PM> Install-Package Shuttle.Core.Reflection
Provides various methods to facilitate reflection handling.
ReflectionService
Task<IEnumerable<Assembly>> GetMatchingAssembliesAsync(Regex regex)
Returns a collection of assemblies that have their file name matching the given Regex
expression.
Task<IEnumerable<Assembly>> GetRuntimeAssembliesAsync()
Returns a combination of DependencyContext.Default.GetRuntimeAssemblyNames(Environment.OSVersion.Platform.ToString())
and AppDomain.CurrentDomain.GetAssemblies()
.
Task<Type> GetTypeAsync(string typeName)
Attempts to find the requested type.
Task<IEnumerable<Type>> GetTypesCastableToAsync(Type type, Assembly assembly)
// and these extensions
Task<IEnumerable<Type>> GetTypesCastableToAsync<T>();
Task<IEnumerable<Type>> GetTypesCastableToAsync(Type type);
Task<IEnumerable<Type>> GetTypesCastableToAsync<T>(Assembly assembly);
Returns all the types in the given assembly
that can be cast to the type
or typeof(T)
; if no assembly
is provided the all assemblies returned by GetAssembliesAsync()
will be scanned.
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET | net8.0 is compatible. net8.0-android was computed. net8.0-browser was computed. net8.0-ios was computed. net8.0-maccatalyst was computed. net8.0-macos was computed. net8.0-tvos was computed. net8.0-windows was computed. net9.0 was computed. net9.0-android was computed. net9.0-browser was computed. net9.0-ios was computed. net9.0-maccatalyst was computed. net9.0-macos was computed. net9.0-tvos was computed. net9.0-windows was computed. |
-
- Microsoft.Extensions.DependencyModel (>= 8.0.2)
- Shuttle.Core.Contract (>= 20.0.0)
NuGet packages (11)
Showing the top 5 NuGet packages that depend on Shuttle.Core.Reflection:
Package | Downloads |
---|---|
Shuttle.Esb
Contains the core Shuttle.Esb assembly that should always be referenced when building Shuttle.Esb solutions. |
|
Shuttle.Core.Container
Dependency injection container adapter. |
|
Shuttle.Core.Threading
Thread-based processing. |
|
Shuttle.Core.Pipelines
Observable event-based pipelines based broadly on pipes and filters. |
|
Shuttle.Recall
Event sourcing mechanism. |
GitHub repositories
This package is not used by any popular GitHub repositories.
Version | Downloads | Last updated |
---|---|---|
20.0.0 | 438 | 2/2/2025 |
13.0.0 | 4,364 | 4/30/2024 |
12.0.1 | 16,639 | 12/1/2022 |
12.0.0 | 29,084 | 9/4/2022 |
11.0.3 | 28,520 | 4/9/2022 |
11.0.2 | 25,023 | 2/1/2021 |
11.0.0 | 17,380 | 1/17/2021 |
10.0.11 | 9,509 | 11/27/2020 |
10.0.10 | 108,245 | 9/19/2018 |
10.0.9 | 17,673 | 7/8/2018 |
10.0.7 | 1,936 | 2/17/2018 |
10.0.6 | 35,643 | 2/13/2018 |