Releases: ekonbenefits/impromptu-interface
Releases · ekonbenefits/impromptu-interface
Core 3.0.1
- Silverlight passes all unit tests
ImpromptuDictionary
will also act like a dynamic proxy for anyIDictionary<string,object>
including nestedIDictionary<string,object>
- Added
ImpromptuGet
dynamic proxy that only exposes getters including Funcs as methods (works with anonymous objects). - Added
Impromptu.FastDynamicInvoke(this Delegate del, params object[] args)
runs about 20x faster thanDelegate.DynamicInvoke(params object[] arg)
- All
Impromtu.Invoke
functions leveraging the DLR run faster than reflection in Microsoft.net & Silverlight - Added readable convenience syntax for inline lambdas
Return<T>.Arguments<T1,..>((T1,..)#> code)
andReturnVoid.Arguments<T1,..>((T1,..)#> code)
Core 2.0.0
Added functions to extremely late binding calls.
var result # Impromptu.InvokeMember(target, "name", arg1,...);
Impromptu.InvokeMemberAction(target, "name", arg1,...);
var result # Impromptu.InvokeGet(target, "name");
Impromptu.InvokeSet(target, "name", value);
These calls can be used on static or dynamic objects.
Core 1.2.1
- Basic Functionality of
ActLike<Interface>()
Plus some primitive base classes when usingImpromptuInterface.Dynamic;
ImpromptuObject
--Similar toDynamicObject
but the expected static return type from the wrapped interface can be queried.ImpromptuFactory
-- Functional base class, used to create fluent factories with less boilerplateImpromptuDictionary
-- Similar toExpandoObject
but returns default of the static return type if the property has never been set.