24 lines
612 B
C#
24 lines
612 B
C#
// Copyright (c) .NET Foundation. All rights reserved.
|
|
// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
|
|
|
|
using System;
|
|
using System.Collections.Generic;
|
|
|
|
namespace Microsoft.AspNet.Builder
|
|
{
|
|
public interface IApplicationBuilder
|
|
{
|
|
IServiceProvider ApplicationServices { get; set; }
|
|
|
|
object Server { get; }
|
|
|
|
IDictionary<string, object> Properties { get; }
|
|
|
|
IApplicationBuilder Use(Func<RequestDelegate, RequestDelegate> middleware);
|
|
|
|
IApplicationBuilder New();
|
|
|
|
RequestDelegate Build();
|
|
}
|
|
}
|