Universal.Common.Reflection
2.1.0
Install-Package Universal.Common.Reflection -Version 2.1.0
dotnet add package Universal.Common.Reflection --version 2.1.0
<PackageReference Include="Universal.Common.Reflection" Version="2.1.0" />
paket add Universal.Common.Reflection --version 2.1.0
#r "nuget: Universal.Common.Reflection, 2.1.0"
// Install Universal.Common.Reflection as a Cake Addin
#addin nuget:?package=Universal.Common.Reflection&version=2.1.0
// Install Universal.Common.Reflection as a Cake Tool
#tool nuget:?package=Universal.Common.Reflection&version=2.1.0
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 |
.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 |
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.1.2)
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.0 | 1,368 | 10/28/2021 |
2.0.0 | 361 | 10/13/2021 |
1.2.0.1 | 5,070 | 2/5/2021 |
1.2.0 | 183 | 2/5/2021 |
1.1.2 | 263 | 2/1/2021 |
1.1.1 | 402 | 1/5/2021 |
1.1.0 | 1,165 | 9/30/2020 |
1.0.7 | 428 | 9/22/2020 |
1.0.6 | 288 | 8/5/2020 |
1.0.5 | 9,530 | 4/7/2020 |
1.0.4 | 338 | 3/18/2020 |
1.0.3 | 2,632 | 1/29/2020 |
1.0.2 | 601 | 1/24/2020 |
1.0.1 | 405 | 1/24/2020 |
1.0.0 | 413 | 1/23/2020 |
0.2.4.1 | 388 | 1/23/2020 |
0.2.4 | 475 | 11/4/2019 |
0.2.3 | 634 | 10/17/2019 |
0.2.2.6 | 15,870 | 7/5/2019 |
0.2.2.5 | 480 | 6/6/2019 |
0.2.2.4 | 4,683 | 4/28/2019 |
0.2.2.3 | 404 | 4/26/2019 |
0.2.2.2 | 402 | 4/26/2019 |
0.2.2.1 | 423 | 4/26/2019 |
0.2.2 | 467 | 4/24/2019 |
0.2.1 | 470 | 4/23/2019 |
0.2.0 | 464 | 4/23/2019 |
0.1.5.1 | 443 | 4/18/2019 |
0.1.5 | 399 | 4/18/2019 |
0.1.4.3 | 499 | 3/26/2019 |
0.1.4.2 | 983 | 3/2/2019 |
0.1.4.1 | 1,112 | 1/29/2019 |
0.1.4 | 578 | 1/9/2019 |
0.1.3 | 504 | 12/19/2018 |
0.1.2.3 | 9,635 | 10/9/2018 |
0.1.2.2 | 598 | 8/29/2018 |
0.1.2.1 | 589 | 8/28/2018 |
0.1.2 | 590 | 8/28/2018 |
0.1.1 | 564 | 8/28/2018 |
0.1.0.1 | 626 | 8/21/2018 |
0.1.0 | 649 | 8/16/2018 |
Support for FieldOrPropertyInfo.