using OwinFramework.Interfaces.Builder;
namespace OwinFramework.InterfacesV1.Capability
{
///
/// Middleware can choose to implement this interface if they can be configured.
/// If there is nothing to configure then the middleware does not need to implement this interface
///
public interface IConfigurable
{
///
/// The pipeline builder will call this method of the middleware once at startup to give it
/// a chance grab configuration data.
///
/// The configuration mechanism used by the application
/// The path to this middleware's configuration in the configuration file
void Configure(IConfiguration configuration, string path);
}
}