Created
November 16, 2011 16:35
-
-
Save ldhertert/1370573 to your computer and use it in GitHub Desktop.
SignalR Orchard
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public IEnumerable<RouteDescriptor> GetRoutes() | |
{ | |
var routeCollection = new RouteCollection(); | |
routeCollection.MapConnection<MyConnection>("echo", "echo/{*operation}"); | |
return GetConferenceRoutes() | |
.Concat(GetSchoolRoutes()) | |
.Concat(GetTeamRoutes()) | |
.Concat(GetTeamSeasonRoutes() | |
.Concat(GetGameRoutes()) | |
.Concat(GetStateRoutes())) | |
.Concat(routeCollection.Select(r => new RouteDescriptor { Route = r })); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment