From 63c8e1889bafcb709f11b49a97a8170137d431eb Mon Sep 17 00:00:00 2001 From: Hao Kung Date: Thu, 20 Nov 2014 17:37:35 -0800 Subject: [PATCH] Add IServiceManifest --- src/Microsoft.AspNet.Hosting/HostingServices.cs | 2 +- src/Microsoft.AspNet.Hosting/IServiceManifest.cs | 16 ++++++++++++++++ 2 files changed, 17 insertions(+), 1 deletion(-) create mode 100644 src/Microsoft.AspNet.Hosting/IServiceManifest.cs diff --git a/src/Microsoft.AspNet.Hosting/HostingServices.cs b/src/Microsoft.AspNet.Hosting/HostingServices.cs index 9ec27a1f83..8d2d015ea5 100644 --- a/src/Microsoft.AspNet.Hosting/HostingServices.cs +++ b/src/Microsoft.AspNet.Hosting/HostingServices.cs @@ -88,4 +88,4 @@ namespace Microsoft.AspNet.Hosting public IEnumerable Services { get; private set; } } } -} +} \ No newline at end of file diff --git a/src/Microsoft.AspNet.Hosting/IServiceManifest.cs b/src/Microsoft.AspNet.Hosting/IServiceManifest.cs new file mode 100644 index 0000000000..3810fdc06c --- /dev/null +++ b/src/Microsoft.AspNet.Hosting/IServiceManifest.cs @@ -0,0 +1,16 @@ +// Copyright (c) Microsoft Open Technologies, Inc. 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.Framework.DependencyInjection.ServiceLookup +{ +#if ASPNET50 || ASPNETCORE50 + [Microsoft.Framework.Runtime.AssemblyNeutral] +#endif + public interface IServiceManifest + { + IEnumerable Services { get; } + } +}