ImmediateReflection 1.4.0

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

// Install ImmediateReflection as a Cake Tool
#tool nuget:?package=ImmediateReflection&version=1.4.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: https://kernelith.github.io/ImmediateReflection/documentation/benchmarks.html.

  • .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,733 9/2/2020
1.5.0 6,866 1/23/2020
1.4.1 2,799 9/2/2019
1.4.0 264 9/1/2019
1.3.0 1,472 7/23/2019
1.2.0 273 7/18/2019
1.1.0 279 6/24/2019
1.0.0 300 5/31/2019
0.1.0 296 5/13/2019
0.0.247 191 8/31/2020

➟ Release 1.4.0
New:
- Add an access to the Declaring Type directly through ImmediateType, ImmediateProperty and ImmediateField.
- Add an access to the Base Type directly through ImmediateType.
- Add CopyConstructorDelegate delegate.
- Add the possibility to call Copy constructor in a faster way than Activator from ImmediateType.
- Add a type extension to check if a type has a default constructor.
- Add type extensions to check if a type has a copy constructor and to directly call it.
- Add object extensions to check if an instance can be copied by a copy constructor and to directly call it.

Changes:
- Globally optimize the library by reducing the number of redundant null checks.
- Slightly optimize the branching in generated code.