ServiceStack/ServiceStack — pull request #814 by TorbenRahbekKoch (2013-08-28 11:14:06+00:00)
Title: ServiceRoutesExtensions.Add<T> with propertyExpressions now returns IServiceRoutes

Just found it a bit annoying that this particular Add method did not return IServiceRoutes, so chaining .Add calls was not possible:

In ServiceRoutesExtensions.cs:

public static void Add(this IServiceRoutes serviceRoutes, string restPath, ApplyTo verbs, params Expression>[] propertyExpressions)

now returns IServiceRoutes:

public static IServiceRoutes Add(this IServiceRoutes serviceRoutes, string restPath, ApplyTo verbs, params Expression>[] propertyExpressions).