ImmediateReflection 1.0.0

.NET library that aims to provide a faster usage of C# reflection features.
Especially the usage of constructors, members accessors (get/set) and attributes.

It provides these features while trying to keep an API as similar as the standard Reflection API.

Supported platforms:
- .NET Standard 2.0+
- .NET Core 2.0+
- .NET Framework 2.0+

Supports Source Link

See benchmarks here: https://github.com/KeRNeLith/ImmediateReflection/blob/master/Benchmarks.md

There is a newer version of this package available.
See the version list below for details.
Install-Package ImmediateReflection -Version 1.0.0
dotnet add package ImmediateReflection --version 1.0.0
<PackageReference Include="ImmediateReflection" Version="1.0.0" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add ImmediateReflection --version 1.0.0
The NuGet Team does not provide support for this client. Please contact its maintainers for support.

Release Notes

➟ Release 1.0.0
Fixes:
- Properly supports static readonly and constant fields.
- Properly handle reflection on enumeration types.

Changes:
- Default flags taken into account when getting an ImmediateType are Public | Instance | Static
- Get rid of cache system references replaced by a simpler internal caching system.
- Extend caching support to target .NET Framework 4.0.

New:
- Add the possibility to call the default constructor of type in a faster way (with or without throw).
- ImmediateType provides access to every members via Members/GetMembers()/indexed member APIs.
- ImmediateType, ImmediateField and ImmediateProperty provide a faster access to attributes.
- Extensions to retrieve Immediate Reflection types from standard types.
- Extensions to retrieve attributes from standard MemberInfo.
- Provide helpers to easily create strongly typed delegate to get/set properties.
- Add an object wrapper that allows to get/set value on a specific object instance.

Misc:
- Improve library documentation.
- Library is fully ReSharper annotated.

  • .NETFramework 2.0

    • No dependencies.
  • .NETFramework 3.5

    • No dependencies.
  • .NETFramework 4.0

    • No dependencies.
  • .NETFramework 4.5

    • No dependencies.
  • .NETStandard 2.0

This package is not used by any popular GitHub repositories.

Version History

Version Downloads Last updated
1.4.1 890 9/2/2019
1.4.0 44 9/1/2019
1.3.0 1,239 7/23/2019
1.2.0 65 7/18/2019
1.1.0 69 6/24/2019
1.0.0 83 5/31/2019
0.1.0 81 5/13/2019
Show less