owin/gate — pull request #45 by loudej (2011-11-09 00:06:00+00:00)
Title: Enabling IAppBuilder to be app delegate agnostic

Helps make results of chaining more efficient by only inserting an adapter call between steps that have different calling conventions. Using the same calling convention from end-to-end should result in zero transitions.

Also enables the host to indicate which calling convention the app should be returned in.

This pull request is attempting to introduce as few unrelated changes as possible (though the Predicate class needed to be adjusted to be .Use(middleware) friendly.