Shannon
a6f6a321f9
Fixes extension method finder and TypeHelper with Stephen's awesome code
2015-02-17 14:37:44 +01:00
Shannon
9cdea752e8
Updates ExtensionMethodFinder to use new TypeFinder methods, all tests are passing now. Moved Stephen's MatchType methods to TypeHelper and moved those tests to TypeHelperTests. Now, need to compare notes with Stephen and add more tests to validate/invalidate the aproaches taken to see what might not be supported between either approaches and should probably look into benchmarks too.
2015-02-04 10:24:09 +11:00
Shannon
de3c836ac1
Merge branch 'dev-v7' of https://github.com/umbraco/Umbraco-CMS into dev-v7
...
Conflicts:
src/Umbraco.Core/Dynamics/ExtensionMethodFinder.cs
src/Umbraco.Tests/DynamicsAndReflection/ExtensionMethodFinderTests.cs
2015-02-04 09:58:48 +11:00
Stephan
2cdc89297f
U4-6210 - fix failing tests, improve extension methods support on dynamics
2015-02-03 19:38:14 +01:00
Shannon
839a5b13b0
updates extension method finder with tests to better support finding generic equivialents, adds tests for TypeHelper as well.
2015-02-03 20:23:05 +11:00
Shannon
f037f8541c
Fixes: U4-6210 ExtensionMethodFinder doesn't work with overloaded extensions - this means overloaded extension methods for dynamic content won't work. and finalizes: U4-6209 GetGridHtml needs to be an extension on HtmlHelper not IPublishedContent so that ViewData and ModelState are inherited
2015-01-30 19:04:39 +11:00
Stephan
e8fd6a6ece
Take care of FIXMEs
2013-09-17 10:18:26 +02:00
Stephan
0415a31d0e
PublishedContent - the big refactoring
2013-09-16 17:17:45 +02:00
Shannon Deminick
48c45447e4
Fixes: #U4-1207, Enhancements to DynamicXml (legacy and new), now implements proper IEnumerable<T> interfaces.
...
Added DynamicInstanceHelper for any dynamic object that should find matches on methods, properties and
extension methods. Fixed ExtensionMethodFinder to find the Enumerable extensions (was previously set to IEnumerable which would
find nothing).
2012-11-18 10:28:53 +05:00
Shannon Deminick
5fc3d8e248
Fixes threading issue with Dynamicexpression... would have caused some strange behavior in the past!
...
Fixes: U4-995 - most methods will now work in dynamic expressions
2012-10-08 00:09:44 +05:00
Shannon Deminick
64c9d97e53
Got extension methods working on DynamicDocument/DynamicDocumentList and added unit tests
...
for them.
2012-08-24 23:44:47 +07:00
Shannon Deminick
d7f8214d24
Got extension methods working for DynamicDocument. Exposes some new APIs publicly because they need to work with type finding and med trust, plus we need to expose these for MVC
2012-08-22 08:33:19 +06:00
Shannon Deminick
e9c793cede
Fixed difficult merge
2012-08-22 05:57:34 +06:00
Shannon Deminick
bee73cce12
Changed IApplicationEvents to IApplicationEventHandler.
...
Removed all reflection calls to BindingFlags.NonPublic which was mostly used by DynamicNode, this will
not work in medium trust.
2012-08-22 05:21:02 +06:00
Shannon Deminick
3da387591d
Deprecated many of the classes for Dynamics in the macro engines project and proxied these calls
...
to the superceded classes.
2012-08-17 06:22:51 +06:00
Shannon Deminick
5213d6de5c
renamed IContentStore to IPublishedContentStore. Migrating DynamicNode to Umbraco.Core and cleaning up it's supported codebase.
...
Starting writing a few unit tests for the new DynamicNode codebase. Will of course leave the original DynamicNode stuff in its
current place for backwards compatibility but will deprecate many of the classes which will call the new ones.
2012-08-17 04:27:47 +06:00