using System;
namespace EmbedIO.Routing
{
///
/// Provides extension methods for .
///
public static partial class RoutingModuleExtensions
{
///
/// Adds handlers, associating them with HTTP method / route pairs by means
/// of Route attributes.
/// See for further information.
///
/// The on which this method is called.
/// Where to look for compatible handlers.
/// with handlers added.
/// is .
/// is .
public static RoutingModule WithHandlersFrom(this RoutingModule @this, object target)
{
@this.AddFrom(target);
return @this;
}
}
}