TL.AssemblyExtensionLibrary 0.8.0

dotnet add package TL.AssemblyExtensionLibrary --version 0.8.0
                    
NuGet\Install-Package TL.AssemblyExtensionLibrary -Version 0.8.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="TL.AssemblyExtensionLibrary" Version="0.8.0" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="TL.AssemblyExtensionLibrary" Version="0.8.0" />
                    
Directory.Packages.props
<PackageReference Include="TL.AssemblyExtensionLibrary" />
                    
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 TL.AssemblyExtensionLibrary --version 0.8.0
                    
#r "nuget: TL.AssemblyExtensionLibrary, 0.8.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 TL.AssemblyExtensionLibrary@0.8.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=TL.AssemblyExtensionLibrary&version=0.8.0
                    
Install as a Cake Addin
#tool nuget:?package=TL.AssemblyExtensionLibrary&version=0.8.0
                    
Install as a Cake Tool

📦 TL.AssemblyExtensionLibrary

.NET NuGet License: MIT

Essential .NET Assembly inspection, resource extraction, and reflection diagnostics utilities. Extensões utilitárias essenciais para inspeção de assemblies .NET, extração de recursos embutidos e diagnósticos via reflexão.

A biblioteca TL.AssemblyExtensionLibrary fornece uma variedade de métodos de extensão para a classe Assembly do .NET, facilitando a manipulação e extração de informações úteis sobre assemblies. Com ela, você pode obter facilmente informações de versão, tipos definidos, assemblies referenciados e muito mais.

Instalação

Para instalar a biblioteca via NuGet, use o seguinte comando:

dotnet add package TL.AssemblyExtensionLibrary

Funcionalidades

  • FileInfo: Obtém o objeto FileInfo para a localização do assembly especificado.
  var fileInfo = assembly.FileInfo()
  • GetVersion: Obtém a versão do assembly.
var version = assembly.GetVersion();
  • GetReferencedAssemblies: Obtém as assemblies referenciadas pelo assembly atual.
 
var referencedAssemblies = assembly.GetReferencedAssemblies();

  • GetTypes: Obtém todos os tipos definidos no assembly.
 
var types = assembly.GetTypes();

  • GetCustomAttribute: Obtém um atributo personalizado específico do assembly.
 
var customAttribute = assembly.GetCustomAttribute<YourAttribute>();

  • GetEntryAssembly: Obtém a assembly de entrada (o executável do processo) na aplicação atual.
 
var entryAssembly = AssemblyExtensions.GetEntryAssembly();

  • GetName: Obtém o nome do assembly.
 
var name = assembly.GetName();

  • GetLocation: Obtém a localização do assembly.
 
var location = assembly.GetLocation();

  • GetManifestResourceNames: Obtém os nomes dos recursos incorporados no assembly.
 
var resourceNames = assembly.GetManifestResourceNames();

  • GetDefinedNamespaces: Obtém os namespaces definidos no assembly.
 
var namespaces = assembly.GetDefinedNamespaces();

  • IsDebugBuild: Verifica se o assembly foi compilado em modo debug.
 
var isDebug = assembly.IsDebugBuild();

Contribuições

Sinta-se à vontade para contribuir com este projeto. Faça um fork, crie uma branch com suas melhorias e abra um pull request!

Licença

Este projeto está licenciado sob a Licença MIT - consulte o arquivo LICENSE para obter detalhes.

Product Compatible and additional computed target framework versions.
.NET net5.0 was computed.  net5.0-windows was computed.  net6.0 was computed.  net6.0-android was computed.  net6.0-ios was computed.  net6.0-maccatalyst was computed.  net6.0-macos was computed.  net6.0-tvos was computed.  net6.0-windows was computed.  net7.0 was computed.  net7.0-android was computed.  net7.0-ios was computed.  net7.0-maccatalyst was computed.  net7.0-macos was computed.  net7.0-tvos was computed.  net7.0-windows was computed.  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. 
.NET Core netcoreapp2.0 was computed.  netcoreapp2.1 was computed.  netcoreapp2.2 was computed.  netcoreapp3.0 was computed.  netcoreapp3.1 was computed. 
.NET Standard netstandard2.0 is compatible.  netstandard2.1 was computed. 
.NET Framework net461 was computed.  net462 was computed.  net463 was computed.  net47 was computed.  net471 was computed.  net472 was computed.  net48 was computed.  net481 was computed. 
MonoAndroid monoandroid was computed. 
MonoMac monomac was computed. 
MonoTouch monotouch was computed. 
Tizen tizen40 was computed.  tizen60 was computed. 
Xamarin.iOS xamarinios was computed. 
Xamarin.Mac xamarinmac was computed. 
Xamarin.TVOS xamarintvos was computed. 
Xamarin.WatchOS xamarinwatchos was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
  • .NETStandard 2.0

    • No dependencies.
  • net8.0

    • No dependencies.

NuGet packages (1)

Showing the top 1 NuGet packages that depend on TL.AssemblyExtensionLibrary:

Package Downloads
TL.ExtensionLibrary.Infrastructure

Clean Architecture Infrastructure metapackage: database querying, resilient HTTP, and assembly scanning extensions, transitively including Application and Domain.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
0.8.0 148 10/1/2026
0.7.0 143 9/26/2026
0.6.0 134 9/22/2026
0.5.0 137 9/16/2026
0.4.2 146 9/16/2026
0.4.1 140 9/11/2026
0.4.0 150 9/6/2026
0.3.0 114 9/6/2026
0.2.0 114 9/5/2026
0.1.0 126 9/4/2026
0.0.1 220 10/19/2024