ToolBX.Reflection4Humans.TypeFetcher
3.0.0
dotnet add package ToolBX.Reflection4Humans.TypeFetcher --version 3.0.0
NuGet\Install-Package ToolBX.Reflection4Humans.TypeFetcher -Version 3.0.0
<PackageReference Include="ToolBX.Reflection4Humans.TypeFetcher" Version="3.0.0" />
paket add ToolBX.Reflection4Humans.TypeFetcher --version 3.0.0
#r "nuget: ToolBX.Reflection4Humans.TypeFetcher, 3.0.0"
// Install ToolBX.Reflection4Humans.TypeFetcher as a Cake Addin #addin nuget:?package=ToolBX.Reflection4Humans.TypeFetcher&version=3.0.0 // Install ToolBX.Reflection4Humans.TypeFetcher as a Cake Tool #tool nuget:?package=ToolBX.Reflection4Humans.TypeFetcher&version=3.0.0
Reflection4Humans.TypeFetcher
Provides an easy way for humans to fetch types from any and all loaded assemblies.
Getting started
You start by using the Types
static class and querying what types interest you in largely the same way as you would perform regular LINQ queries.
//Returns all types from all assemblies, you animal
var allTypesInAllAssemblies = Types.ToList();
var myHighLevelTypes = Types.Where(x => x.HasAttribute<MineAttribute>(y => y.Level > 30)).ToArray()
var someType = Types.FirstOrDefault(x => x.Name == "Seb");
Breaking changes
2.2.0 → 3.0.0
TypeFetcher
is no longer available. UseTypes
instead.
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. |
-
net8.0
- ToolBX.Reflection4Humans.Extensions (>= 3.0.0)
NuGet packages (3)
Showing the top 3 NuGet packages that depend on ToolBX.Reflection4Humans.TypeFetcher:
Package | Downloads |
---|---|
ToolBX.AutoInject
A .NET library to make it easier to use DI by adding [AutoInject] attributes directly on classes. |
|
ToolBX.Dummies
A lightweight object generation framework for unit testing purposes |
|
ToolBX.AutoConfig
A .NET library to make it easier to use appsettings sections using [AutoConfig] attributes directly on classes. |
GitHub repositories
This package is not used by any popular GitHub repositories.
Version | Downloads | Last updated |
---|---|---|
3.0.0 | 4,141 | 9/26/2024 |
3.0.0-beta5 | 308 | 9/22/2024 |
3.0.0-beta4 | 292 | 9/22/2024 |
3.0.0-beta3 | 105 | 9/22/2024 |
3.0.0-beta2 | 143 | 9/7/2024 |
3.0.0-beta1 | 217 | 5/31/2024 |
2.2.0 | 10,538 | 1/11/2024 |
2.2.0-beta9 | 587 | 1/7/2024 |
2.2.0-beta8 | 128 | 12/29/2023 |
2.2.0-beta7 | 120 | 12/14/2023 |
2.2.0-beta6 | 289 | 12/14/2023 |
2.2.0-beta4 | 425 | 11/16/2023 |
2.2.0-beta3 | 94 | 11/15/2023 |
2.2.0-beta2 | 122 | 8/16/2023 |
2.2.0-beta1 | 406 | 7/24/2023 |
2.1.0-beta1 | 10,398 | 6/28/2023 |
2.0.3 | 3,222 | 6/19/2023 |
2.0.1 | 1,944 | 4/23/2023 |
2.0.0 | 1,025 | 11/9/2022 |
2.0.0-beta1 | 145 | 9/20/2022 |
0.9.0-beta | 6,351 | 5/12/2022 |