YoYo.Mono.Ceil.Extensions NuGet Package

It is extented of mono.ceil,the coding style is similar to system.type;Simplified use is simpler and has less code.

It can be easily used in IL without additional type conversion.Extending and encapsulating the ILProcessor makes it easier to write IL
For examples:
TypeReferenceEx type = TypeReferenceEx.Convert(Module.ImportReference(List<T>);
TypeReferenceEx newType = type.MakeGenericType(typeof(int));
MethodReferenceEx method = type.GetMethod("Add");
PropertyReferenceEx property = method.GetProperty("Count);
MethodReferenceEx getMethod = property.GetMethod;
TypeReferenceEx propertyType= property.PropertyType;

MethodILProcessor processor = new MethodILProcessor(method);
//foreach(var item in list)
Action loadValue = ()=> processor.Ldarg(1);
using (var scope = new ForeachScope(processor, newType, loadValue))
{
}

//for(int i = 0; i < 10; i++)
using (ForIntIterScope.NumbericForward(processor, 0, 10))
{
}.




Got any YoYo.Mono.Ceil.Extensions Question?





Info

Version: 1.0.9
Author(s): YoYo
Last Update: Monday, December 7, 2020
.NET Fiddle: Create the first Fiddle
NuGet Url: https://www.nuget.org/packages/YoYo.Mono.Ceil.Extensions


Install
Install-Package YoYo.Mono.Ceil.Extensions
dotnet add package YoYo.Mono.Ceil.Extensions
paket add YoYo.Mono.Ceil.Extensions
YoYo.Mono.Ceil.Extensions Download (Unzip the "nupkg" after downloading)

.NETStandard 2.0 net46 netcoreapp2.0 1 package depend on this package.




STATS

must-have-score

.8

avg-downloads-per-day

1

days-since-last-release

1483