jason-c-daniels - Jcd.Reflection 1.0.21

A small library containing some commonly implemented reflection helpers.

PM> Install-Package Jcd.Reflection -Version 1.0.21 -Source https://www.myget.org/F/jason-c-daniels/api/v3/index.json

Copy to clipboard

> nuget.exe install Jcd.Reflection -Version 1.0.21 -Source https://www.myget.org/F/jason-c-daniels/api/v3/index.json

Copy to clipboard

> dotnet add package Jcd.Reflection --version 1.0.21 --source https://www.myget.org/F/jason-c-daniels/api/v3/index.json

Copy to clipboard
<PackageReference Include="Jcd.Reflection" Version="1.0.21" />
Copy to clipboard
source https://www.myget.org/F/jason-c-daniels/api/v3/index.json

nuget Jcd.Reflection  ~> 1.0.21
Copy to clipboard

> choco install Jcd.Reflection --version 1.0.21 --source https://www.myget.org/F/jason-c-daniels/api/v2

Copy to clipboard
Import-Module PowerShellGet
Register-PSRepository -Name "jason-c-daniels" -SourceLocation "https://www.myget.org/F/jason-c-daniels/api/v2"
Install-Module -Name "Jcd.Reflection" -RequiredVersion "1.0.21" -Repository "jason-c-daniels" 
Copy to clipboard

Jcd.Reflection

A set of reflection helpers

Examples

    internal static class Program
    {
        private static void Main()
        {
            var c = new TestClass();
            // set the private field, _field
            c.SetValue("_field",10);

            // now get its value.
            var val = (int)c.GetValue("_field");
            Console.WriteLine(val);
            
            // Now set a private property with a backing field.
            c.SetValue("PrivateProperty",20);
            
            // Now call a private helper method that returns the value from the backing field. 
            val = c.Invoke<int>("InternalGetField");
            Console.WriteLine(val);

GitHub Build status CodeFactor Grade

MyGet Nuget

API Docs

Upgraded Jcd.Validations to 1.0.8

  • .NETStandard 2.0
    • Jcd.Validations (>= 1.0.8)
    • Microsoft.CSharp (>= 4.7.0)
  • .NETStandard 2.1
    • Jcd.Validations (>= 1.0.8)
    • Microsoft.CSharp (>= 4.7.0)
  • .NETStandard 2.0: 2.0.0.0
  • .NETStandard 2.1: 2.1.0.0

Owners

Jason C. Daniels

Authors

Jason C Daniels

Project URL

https://github.com/jason-c-daniels/Jcd.Reflection

License

MIT

Tags

reflection csharp c#

Info

13 total downloads
0 downloads for version 1.0.21
Download (37.33 KB)
Found on the current feed only

Package history

Version Size Last updated Downloads Mirrored?
1.0.40 43.59 KB Thu, 14 Oct 2021 02:28:42 GMT 1
1.0.39 39.77 KB Tue, 12 Oct 2021 11:38:32 GMT 1
1.0.38 38.55 KB Mon, 11 Oct 2021 16:56:45 GMT 1
1.0.37 38.55 KB Mon, 11 Oct 2021 16:55:37 GMT 0
1.0.36 38.55 KB Mon, 11 Oct 2021 16:54:13 GMT 0
1.0.35 38.56 KB Mon, 11 Oct 2021 16:51:10 GMT 0
1.0.34 38.56 KB Mon, 11 Oct 2021 03:26:31 GMT 0
1.0.33 38.55 KB Sun, 10 Oct 2021 23:54:07 GMT 1
1.0.30 38.5 KB Sun, 10 Oct 2021 23:36:47 GMT 0
1.0.29 38.58 KB Sun, 10 Oct 2021 23:35:25 GMT 0
1.0.26 38.57 KB Sun, 10 Oct 2021 03:43:09 GMT 0
1.0.25 38.58 KB Sun, 10 Oct 2021 03:13:49 GMT 0
1.0.24 37.34 KB Sun, 10 Oct 2021 00:58:02 GMT 0
1.0.23 37.33 KB Sun, 10 Oct 2021 00:19:28 GMT 0
1.0.22 37.34 KB Sun, 10 Oct 2021 00:14:42 GMT 0
1.0.21 37.33 KB Sun, 10 Oct 2021 00:02:52 GMT 0
1.0.20 37.33 KB Sat, 09 Oct 2021 23:38:27 GMT 0
1.0.19 37.33 KB Sat, 09 Oct 2021 23:29:02 GMT 0
1.0.18 37.34 KB Sat, 09 Oct 2021 23:16:09 GMT 0
1.0.17 37.16 KB Sat, 09 Oct 2021 23:02:27 GMT 0
1.0.16 36.45 KB Sat, 09 Oct 2021 22:08:18 GMT 0
1.0.15 36.45 KB Sat, 09 Oct 2021 22:05:10 GMT 0
1.0.14 34.27 KB Sat, 09 Oct 2021 20:03:05 GMT 0
1.0.13 31.97 KB Sat, 09 Oct 2021 19:52:58 GMT 0
1.0.12 30.14 KB Sat, 09 Oct 2021 13:53:04 GMT 9
1.0.11 30.14 KB Sat, 09 Oct 2021 13:29:35 GMT 0
1.0.8 27.11 KB Sat, 09 Oct 2021 07:52:19 GMT 0
1.0.4 26.79 KB Sat, 09 Oct 2021 05:21:18 GMT 0
1.0.2 25.79 KB Sat, 09 Oct 2021 01:00:23 GMT 0
1.0.1 13.83 KB Fri, 08 Oct 2021 22:46:28 GMT 0
1.0.0 13.55 KB Fri, 08 Oct 2021 22:34:24 GMT 0