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
                    
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="ToolBX.Reflection4Humans.TypeFetcher" Version="3.0.0" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="ToolBX.Reflection4Humans.TypeFetcher" Version="3.0.0" />
                    
Directory.Packages.props
<PackageReference Include="ToolBX.Reflection4Humans.TypeFetcher" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add ToolBX.Reflection4Humans.TypeFetcher --version 3.0.0
                    
#r "nuget: ToolBX.Reflection4Humans.TypeFetcher, 3.0.0"
                    
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
#:package ToolBX.Reflection4Humans.TypeFetcher@3.0.0
                    
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=ToolBX.Reflection4Humans.TypeFetcher&version=3.0.0
                    
Install as a Cake Addin
#tool nuget:?package=ToolBX.Reflection4Humans.TypeFetcher&version=3.0.0
                    
Install as a Cake Tool

Reflection4Humans

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. Use Types instead.
Product 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.  net10.0 was computed.  net10.0-android was computed.  net10.0-browser was computed.  net10.0-ios was computed.  net10.0-maccatalyst was computed.  net10.0-macos was computed.  net10.0-tvos was computed.  net10.0-windows was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages (3)

Showing the top 3 NuGet packages that depend on ToolBX.Reflection4Humans.TypeFetcher:

Package Downloads
ToolBX.Eloquentest

A simple to use .NET unit testing framework built on top of MSTest and Moq. It also includes built-in support for services that are injected using [AutoInject].

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 7,555 9/26/2024
3.0.0-beta5 516 9/22/2024
3.0.0-beta4 385 9/22/2024
3.0.0-beta3 168 9/22/2024
3.0.0-beta2 215 9/7/2024
3.0.0-beta1 285 5/31/2024
2.2.0 11,003 1/11/2024
2.2.0-beta9 931 1/7/2024
2.2.0-beta8 169 12/29/2023
2.2.0-beta7 159 12/14/2023
2.2.0-beta6 422 12/14/2023
2.2.0-beta4 655 11/16/2023
2.2.0-beta3 124 11/15/2023
2.2.0-beta2 190 8/16/2023
2.2.0-beta1 587 7/24/2023
2.1.0-beta1 10,697 6/28/2023
2.0.3 3,555 6/19/2023
2.0.1 2,403 4/23/2023
2.0.0 1,341 11/9/2022
2.0.0-beta1 256 9/20/2022
Loading failed