Universal.Common.Reflection
2.1.1
dotnet add package Universal.Common.Reflection --version 2.1.1
NuGet\Install-Package Universal.Common.Reflection -Version 2.1.1
<PackageReference Include="Universal.Common.Reflection" Version="2.1.1" />
paket add Universal.Common.Reflection --version 2.1.1
#r "nuget: Universal.Common.Reflection, 2.1.1"
// Install Universal.Common.Reflection as a Cake Addin
#addin nuget:?package=Universal.Common.Reflection&version=2.1.1
// Install Universal.Common.Reflection as a Cake Tool
#tool nuget:?package=Universal.Common.Reflection&version=2.1.1
Universal.Common.Reflection
Additional reflection-based functionality.
Quickstart
FieldOrPropertyInfo
Used for the common scenario where fields and properties need to be dealt with in a similar manner.
foreach (FieldOrPropertyInfo fieldOrProperty in typeof(Class).GetFieldsAndProperties())
{
Console.WriteLine(fieldOrProperty.GetValue(instance));
}
Product | Versions |
---|---|
.NET | net5.0 net5.0-windows net6.0 net6.0-android net6.0-ios net6.0-maccatalyst net6.0-macos net6.0-tvos net6.0-windows net7.0 net7.0-android net7.0-ios net7.0-maccatalyst net7.0-macos net7.0-tvos net7.0-windows |
.NET Core | netcoreapp2.0 netcoreapp2.1 netcoreapp2.2 netcoreapp3.0 netcoreapp3.1 |
.NET Standard | netstandard2.0 netstandard2.1 |
.NET Framework | net461 net462 net463 net47 net471 net472 net48 net481 |
MonoAndroid | monoandroid |
MonoMac | monomac |
MonoTouch | monotouch |
Tizen | tizen40 tizen60 |
Xamarin.iOS | xamarinios |
Xamarin.Mac | xamarinmac |
Xamarin.TVOS | xamarintvos |
Xamarin.WatchOS | xamarinwatchos |
-
.NETStandard 2.0
- Microsoft.CSharp (>= 4.7.0)
- System.Reflection.Emit (>= 4.7.0)
- Universal.Common (>= 8.2.0)
NuGet packages (9)
Showing the top 5 NuGet packages that depend on Universal.Common.Reflection:
Package | Downloads |
---|---|
Universal.Common.Serialization
Class library with base objects that provide serializable to and from XML and JSON strings and binary serialization using the native binary formatter. |
|
Universal.Common.Language
Class library for working with general language constructs. |
|
Universal.Common.Pipelines
Class library containing patterns and classes for implementing execution pipelines. |
|
Universal.Microsoft.AspNetCore
Class library to accelerate ASP.NET Core development. |
|
Universal.Open.Australia.Holidays
Class library that provides data for Australian holidays. |
GitHub repositories
This package is not used by any popular GitHub repositories.
Version | Downloads | Last updated |
---|---|---|
2.1.1 | 427 | 9/26/2022 |
2.1.0 | 2,438 | 10/28/2021 |
2.0.0 | 1,171 | 10/13/2021 |
1.2.0.1 | 10,402 | 2/5/2021 |
1.2.0 | 270 | 2/5/2021 |
1.1.2 | 377 | 2/1/2021 |
1.1.1 | 678 | 1/5/2021 |
1.1.0 | 1,901 | 9/30/2020 |
1.0.7 | 546 | 9/22/2020 |
1.0.6 | 360 | 8/5/2020 |
1.0.5 | 15,215 | 4/7/2020 |
1.0.4 | 409 | 3/18/2020 |
1.0.3 | 3,807 | 1/29/2020 |
1.0.2 | 815 | 1/24/2020 |
1.0.1 | 484 | 1/24/2020 |
1.0.0 | 487 | 1/23/2020 |
0.2.4.1 | 459 | 1/23/2020 |
0.2.4 | 647 | 11/4/2019 |
0.2.3 | 921 | 10/17/2019 |
0.2.2.6 | 25,029 | 7/5/2019 |
0.2.2.5 | 614 | 6/6/2019 |
0.2.2.4 | 7,573 | 4/28/2019 |
0.2.2.3 | 495 | 4/26/2019 |
0.2.2.2 | 490 | 4/26/2019 |
0.2.2.1 | 508 | 4/26/2019 |
0.2.2 | 548 | 4/24/2019 |
0.2.1 | 548 | 4/23/2019 |
0.2.0 | 544 | 4/23/2019 |
0.1.5.1 | 535 | 4/18/2019 |
0.1.5 | 488 | 4/18/2019 |
0.1.4.3 | 584 | 3/26/2019 |
0.1.4.2 | 1,418 | 3/2/2019 |
0.1.4.1 | 1,625 | 1/29/2019 |
0.1.4 | 720 | 1/9/2019 |
0.1.3 | 584 | 12/19/2018 |
0.1.2.3 | 14,840 | 10/9/2018 |
0.1.2.2 | 689 | 8/29/2018 |
0.1.2.1 | 681 | 8/28/2018 |
0.1.2 | 677 | 8/28/2018 |
0.1.1 | 656 | 8/28/2018 |
0.1.0.1 | 729 | 8/21/2018 |
0.1.0 | 754 | 8/16/2018 |
Ability to get the property of an expression representing direct property access.