Linger.Reflection
2.0.0-preview.1
dotnet add package Linger.Reflection --version 2.0.0-preview.1
NuGet\Install-Package Linger.Reflection -Version 2.0.0-preview.1
<PackageReference Include="Linger.Reflection" Version="2.0.0-preview.1" />
<PackageVersion Include="Linger.Reflection" Version="2.0.0-preview.1" />
<PackageReference Include="Linger.Reflection" />
paket add Linger.Reflection --version 2.0.0-preview.1
#r "nuget: Linger.Reflection, 2.0.0-preview.1"
#:package Linger.Reflection@2.0.0-preview.1
#addin nuget:?package=Linger.Reflection&version=2.0.0-preview.1&prerelease
#tool nuget:?package=Linger.Reflection&version=2.0.0-preview.1&prerelease
Linger.Reflection
Linger.Reflection contains the optional runtime metadata and expression-tree features extracted from Linger.Utils.
Upgrading from 1.x? See the 2.0 migration guide.
Installation
dotnet add package Linger.Reflection
The package references Linger.Utils; applications normally reference only Linger.Reflection when they need these APIs.
Target Frameworks
- .NET 10.0
- .NET 9.0
- .NET 8.0
- .NET Standard 2.0
- .NET Framework 4.7.2
Included Features
- Expression composition and predicate helpers
- Dynamic
IQueryableordering by property name - Runtime property inspection and enumeration
- Enum
DescriptionAttributeandDisplayAttributeaccess - Reflection-based
IEnumerable<T>.ToDataTable()conversion - Reflection-based
DataTable.ToList<T>()conversion
Usage
using System.Data;
using System.Linq.Expressions;
using Linger.Extensions;
using Linger.Extensions.Collection;
using Linger.Extensions.Core;
using Linger.Extensions.Data;
Expression<Func<User, bool>> activeUsers = x => x.IsActive;
Expression<Func<User, bool>> adults = x => x.Age >= 18;
Expression<Func<User, bool>> filter = activeUsers.And(adults);
IQueryable<User> ordered = users.AsQueryable().CreateOrderBy(nameof(User.Name));
string? name = user.GetPropertyValue(nameof(User.Name))?.ToString();
string description = Status.Active.GetDescription();
DataTable table = users.ToDataTable();
List<User>? mappedUsers = table.ToList<User>();
AOT And Trimming
This package discovers members at runtime and is not suitable for Native AOT or trimming-sensitive paths. Use the explicit mapper and factory overloads in Linger.Utils for DataTable conversion, and write compile-time projections for other metadata-dependent operations.
Dependency Direction
Linger.Reflection depends on Linger.Utils. Linger.Utils does not depend on Linger.Reflection.
| Product | Versions 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 is compatible. 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 is compatible. 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 is compatible. 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. |
-
.NETFramework 4.7.2
- Linger.Utils (>= 2.0.0-preview.1)
-
.NETStandard 2.0
- Linger.Utils (>= 2.0.0-preview.1)
-
net10.0
- Linger.Utils (>= 2.0.0-preview.1)
-
net8.0
- Linger.Utils (>= 2.0.0-preview.1)
-
net9.0
- Linger.Utils (>= 2.0.0-preview.1)
NuGet packages (1)
Showing the top 1 NuGet packages that depend on Linger.Reflection:
| Package | Downloads |
|---|---|
|
Linger.SharedKernel
Core domain primitives and shared components for Linger applications. Provides base search models, pagination support, and essential building blocks for implementing domain-driven design patterns across multiple projects. |
GitHub repositories
This package is not used by any popular GitHub repositories.
| Version | Downloads | Last Updated |
|---|---|---|
| 2.0.0-preview.1 | 37 | 8/29/2026 |