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" />
<PackageVersion Include="Universal.Common.Reflection" Version="2.1.1" />
<PackageReference Include="Universal.Common.Reflection" />
paket add Universal.Common.Reflection --version 2.1.1
#r "nuget: Universal.Common.Reflection, 2.1.1"
#:package Universal.Common.Reflection@2.1.1
#addin nuget:?package=Universal.Common.Reflection&version=2.1.1
#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 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 was computed. 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. |
-
.NETStandard 2.0
- Microsoft.CSharp (>= 4.7.0)
- System.Reflection.Emit (>= 4.7.0)
- Universal.Common (>= 8.2.0)
NuGet packages (8)
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.CodeGeneration.CSharp
Class library to assist with code generation for C#. |
GitHub repositories
This package is not used by any popular GitHub repositories.
| Version | Downloads | Last Updated |
|---|---|---|
| 2.1.1 | 7,968 | 9/26/2022 |
| 2.1.0 | 5,029 | 10/28/2021 |
| 2.0.0 | 5,256 | 10/13/2021 |
| 1.2.0.1 | 46,700 | 2/5/2021 |
| 1.2.0 | 550 | 2/5/2021 |
| 1.1.2 | 771 | 2/1/2021 |
| 1.1.1 | 1,357 | 1/5/2021 |
| 1.1.0 | 3,093 | 9/30/2020 |
| 1.0.7 | 1,020 | 9/22/2020 |
| 1.0.6 | 671 | 8/5/2020 |
| 1.0.5 | 23,389 | 4/7/2020 |
| 1.0.4 | 752 | 3/18/2020 |
| 1.0.3 | 4,993 | 1/29/2020 |
| 1.0.2 | 1,435 | 1/24/2020 |
| 1.0.1 | 781 | 1/24/2020 |
| 1.0.0 | 816 | 1/23/2020 |
| 0.2.4.1 | 803 | 1/23/2020 |
| 0.2.4 | 1,029 | 11/4/2019 |
| 0.2.3 | 1,489 | 10/17/2019 |
| 0.2.2.6 | 43,346 | 7/5/2019 |
| 0.2.2.5 | 1,006 | 6/6/2019 |
| 0.2.2.4 | 10,934 | 4/28/2019 |
| 0.2.2.3 | 801 | 4/26/2019 |
| 0.2.2.2 | 817 | 4/26/2019 |
| 0.2.2.1 | 849 | 4/26/2019 |
| 0.2.2 | 883 | 4/24/2019 |
| 0.2.1 | 884 | 4/23/2019 |
| 0.2.0 | 872 | 4/23/2019 |
| 0.1.5.1 | 857 | 4/18/2019 |
| 0.1.5 | 820 | 4/18/2019 |
| 0.1.4.3 | 896 | 3/26/2019 |
| 0.1.4.2 | 2,204 | 3/2/2019 |
| 0.1.4.1 | 2,454 | 1/29/2019 |
| 0.1.4 | 1,136 | 1/9/2019 |
| 0.1.3 | 905 | 12/19/2018 |
| 0.1.2.3 | 21,139 | 10/9/2018 |
| 0.1.2.2 | 1,055 | 8/29/2018 |
| 0.1.2.1 | 1,051 | 8/28/2018 |
| 0.1.2 | 1,072 | 8/28/2018 |
| 0.1.1 | 1,031 | 8/28/2018 |
| 0.1.0.1 | 1,123 | 8/21/2018 |
| 0.1.0 | 1,118 | 8/16/2018 |
Ability to get the property of an expression representing direct property access.