harrison314 / massivedynamicproxygenerator Goto Github PK
View Code? Open in Web Editor NEW.Net library for generate proxy class instances
License: MIT License
.Net library for generate proxy class instances
License: MIT License
Update packages and readme.
Add performace tests (using Benchmark.Net) for proxy and decorators.
Add ProxyGenerator factory to MassiveDynamicProxyGenerator.Microsoft.DependencyInjection
Implement utils for async proxy - enwrap async calls with error handling.
Bug StackOwerflowException in object GenerateProxy(Type interfaceType, IInterceptor interceptor)
Implementation for .Net Core
Add support UWP aplications for both nugets.
Migrate web examples to .Net Core 2.0
Add strong name to libraries in nugets.
Add to CallableInterceptorAsyncAdapter optional supression parent call.
All our projects generate strong name signed assemblies and strong name signed assemblies cannot reference non-strong name signed ones.
CSC : warning CS8002: Referenced assembly 'MassiveDynamicProxyGenerator, Version=1.5.0.0, Culture=neutral, PublicKeyToken=null' does not have a strong name.
Would it be possible to update this project and add the strong name signing?
Create and implement project like MassiveDynamicProxyGenerator.SimpleInjector for integration with standrd Asp.Net Core IoC container.
Firest steps:
Implement POCO dynamic generator?
Add StyleCop.Analzer to project
Add title and summary to packages
Add to MassiveDynamicProxyGenerator interceptor to mock return values. With configure return values types, default types or implicit instance of types and configure behoviar.
Configuration:
Separate static typyng proxy (class ProxyGenerator) with infrastructure IInvocation and eg. from dynamic (dynamic variable in C#) infrastructure.
Is break change.
Add method for IInvocation
to call method on another context:
interface IExample
{
int Call(int x);
}
class ContextutalExample :IExample, IDisposable
{
public int Call(int x)
{
return x+1;
}
public void Dispose()
{
}
}
ProxyGenerator generator = new ProxyGenerator();
InterceptorAdapter adapter = new InterceptorAdapter(invocation => {
using(ContextutalExample instance = new ContextutalExample())
{
invocation.Process(instance);
}
});
IExample proxy = generator.GenerateProxy<IExample>(adapter);
Create Task adapter for inteception and invocation. Permitting use it async/await.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.