ImmediateReflection 1.0.0

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.
#r "nuget: ImmediateReflection, 1.0.0"
#r directive can be used in F# Interactive, C# scripting and .NET Interactive. Copy this into the interactive tool or source code of the script to reference the package.
// Install ImmediateReflection as a Cake Addin
#addin nuget:?package=ImmediateReflection&version=1.0.0

// Install ImmediateReflection as a Cake Tool
#tool nuget:?package=ImmediateReflection&version=1.0.0
The NuGet Team does not provide support for this client. Please contact its maintainers for support.

.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:

  • .NETFramework 2.0

    • No dependencies.
  • .NETFramework 3.5

    • No dependencies.
  • .NETFramework 4.0

    • No dependencies.
  • .NETFramework 4.5

    • No dependencies.
  • .NETStandard 2.0

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last updated
1.6.0 6,752 9/2/2020
1.5.0 6,868 1/23/2020
1.4.1 2,804 9/2/2019
1.4.0 269 9/1/2019
1.3.0 1,478 7/23/2019
1.2.0 276 7/18/2019
1.1.0 283 6/24/2019
1.0.0 303 5/31/2019
0.1.0 300 5/13/2019
0.0.247 191 8/31/2020

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

- 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.

- 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.

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