Dynamic Delegates with Expression Trees

Posted by: Rick Strahls WebLog, on 08 Mar 2009 | View original | Bookmarked: 1 time(s)

Nate Kohari has a great post regarding nice dynamic delegate implementation using LINQ expression trees. Go check it out, its a great example of the power of Expression Trees in an example that is actually understandable and also very useful. Ill wait here Basically what Nates code does is provide a dynamic method implementation for any generic method signature that you can provide via a MethodInfo structure. So what? Dynamic invocation isnt difficult, right? After all Reflection provides this...

Advertisement
Free Agile Project Management Tool from Telerik
TeamPulse Community Edition helps your team effectively capture requirements, manage project plans, assign and track work, and most importantly, be continually connected with each other.
Category: Performance | Other Posts: View all posts by this blogger | Report as irrelevant | View bloggers stats | Views: 1172 | Hits: 90

Similar Posts

  • Html Encoding Nuggets With ASP.NET MVC 2 more
  • Filtering with string parameter that allows free user input more
  • Generating Dynamic Methods with Expression Trees in Visual Studio 2010 more
  • querySelectorAll on old IE versions: something that doesnt work more
  • Image Transforms with the ASP.NET Generated Image Control more
  • The State of the ViKi more
  • Framework Design Guidelines: Avoiding custom delegates more
  • Named Formats Redux more
  • Mapping with Expressions more
  • Expression Magic more

News Categories

.NET | Agile | Ajax | Architecture | ASP.NET | BizTalk | C# | Certification | Data | DataGrid | DataSet | Debugger | DotNetNuke | Events | GridView | IIS | Indigo | JavaScript | Mobile | Mono | Patterns and Practices | Performance | Podcast | Refactor | Regex | Security | Sharepoint | Silverlight | Smart Client Applications | Software | SQL | VB.NET | Visual Studio | W3 | WCF | WinFx | WPF | WSE | XAML | XLinq | XML | XSD