Skip to content

Passion for Coding

Software Development is a Job – Coding is a Passion

  • Categories
    • C#
    • Software Development
    • Architecture
    • JavaScript
    • SQL
    • Web
    • Other
  • About
    • Consulting
    • Anders Abel

Tag: Event Handlers

Lambda Closures Handle Event Handlers’ State

Subscribing to an event with a method that requires state is a pain because it often requires a class to be created to hold that state. Fortunately we can use a lambda expression to have the compiler create that state for us instead. It is not an uncommon scenario to have an event handler that… Continue reading Lambda Closures Handle Event Handlers’ State

Published 2012-12-09
Categorized as C# Tagged Lambda Expressions, Event Handlers

I'm Anders Abel, an independent systems architect and developer in Stockholm, Sweden.

profile for Anders Abel at Stack Overflow, Q&A for professional and enthusiast programmers

Code for most posts is available on my GitHub account.

Popular Posts

  • Understanding the Owin External Authentication Pipeline
  • Programmer Time Translation Table
  • Don’t use Linq’s Join. Navigate!
  • jQuery UI Replacement for alert()
  • Prevent Page behind JQuery UI Dialog from Scrolling

Archives

Series

Passion for Coding
Proudly powered by WordPress.