Skip to content

MaestriaNet/Extensions.Reflection

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Maestria.Extensions.Reflection

Build status NuGet MyGet Apimundo

Build History

donate

What is Maestria.Extensions.Reflection?

This package provider a fluent syntax to simple data conversions. Extension functions package for simple data convert.

What is Maestria Project?

This library is part of Maestria Project.

Maestria is a project to provide maximum productivity and elegance to your code.

Where can I get it?

First, install NuGet. Then, install Maestria.Extensions.Reflection from the package manager console:

PM> Install-Package Maestria.Extensions.Reflection

or install from the dotnet cli command line:

> dotnet add package Maestria.Extensions.Reflection

How do I get started?

First, import "Maestria.Extensions.Reflection" reference:

using Maestria.Extensions.Reflection;

Then in your application code, use fluent syntax:

// ReflectionExtensions
<type>.IsInheritedOrImplements(<parent-type>)
ReflectionExtensions.GetAssemblyByName(<name>)
ReflectionExtensions.Create<T>(<arguments[]>)
ReflectionExtensions.HasConstructor<T>(<arguments-types[]>)
ReflectionExtensions.PropertyExist(<object-instance>, <property-name>)
ReflectionExtensions.SetPropertyValue(<object-instance>, <property-name>, <value>)
<object> ReflectionExtensions.GetPropertyValue(<object-instance>, <property-name>)
<T> ReflectionExtensions.GetPropertyValue<T>(<object-instance>, <property-name>)
<object> ReflectionExtensions.GetTaskResult(<task-instance>)
<object> ReflectionExtensions.InvokeMethod(<object-instance>, <method-name>, <parameters>)

buy-me-a-coffee smile.png

If my contributions helped you, please help me buy a coffee :D

donate

About

Extension function pack to increase productivity and improve source code writing with reflection jobs.

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Contributors

Languages