Merge pull request #43 from Microsoft/olegsych/MoveExtensionsToDependencyInjectionNamespace
Move ApplicationInsightsExtensions to Microsoft.Framework.DependencyInjection namespace
This commit is contained in:
Коммит
2829bd7ff2
|
@ -1,7 +1,9 @@
|
|||
namespace Microsoft.ApplicationInsights.AspNet
|
||||
namespace Microsoft.Framework.DependencyInjection
|
||||
{
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using Microsoft.ApplicationInsights;
|
||||
using Microsoft.ApplicationInsights.AspNet;
|
||||
using Microsoft.ApplicationInsights.AspNet.ContextInitializers;
|
||||
using Microsoft.ApplicationInsights.AspNet.TelemetryInitializers;
|
||||
using Microsoft.ApplicationInsights.Channel;
|
||||
|
@ -10,7 +12,6 @@
|
|||
using Microsoft.AspNet.Builder;
|
||||
using Microsoft.AspNet.Mvc.Rendering;
|
||||
using Microsoft.Framework.ConfigurationModel;
|
||||
using Microsoft.Framework.DependencyInjection;
|
||||
|
||||
public static class ApplicationInsightsExtensions
|
||||
{
|
|
@ -1,17 +1,18 @@
|
|||
namespace Microsoft.ApplicationInsights.AspNet.Tests
|
||||
namespace Microsoft.Framework.DependencyInjection
|
||||
{
|
||||
using System;
|
||||
using System.IO;
|
||||
using System.Linq;
|
||||
using Microsoft.ApplicationInsights;
|
||||
using Microsoft.ApplicationInsights.AspNet.ContextInitializers;
|
||||
using Microsoft.ApplicationInsights.AspNet.TelemetryInitializers;
|
||||
using Microsoft.ApplicationInsights.AspNet.Tests;
|
||||
using Microsoft.ApplicationInsights.AspNet.Tests.Helpers;
|
||||
using Microsoft.ApplicationInsights.Channel;
|
||||
using Microsoft.ApplicationInsights.Extensibility;
|
||||
using Microsoft.AspNet.Builder;
|
||||
using Microsoft.AspNet.Hosting;
|
||||
using Microsoft.Framework.ConfigurationModel;
|
||||
using Microsoft.Framework.DependencyInjection;
|
||||
using Xunit;
|
||||
|
||||
public static class ApplicationInsightsExtensionsTests
|
|
@ -1,16 +1,13 @@
|
|||
using System;
|
||||
using FunctionalTestUtils;
|
||||
using Microsoft.ApplicationInsights.AspNet;
|
||||
using Microsoft.AspNet.Builder;
|
||||
using Microsoft.AspNet.Diagnostics;
|
||||
using Microsoft.AspNet.Diagnostics.Entity;
|
||||
using Microsoft.AspNet.Hosting;
|
||||
using Microsoft.AspNet.Identity;
|
||||
using Microsoft.AspNet.Identity.EntityFramework;
|
||||
using Microsoft.Framework.ConfigurationModel;
|
||||
using Microsoft.Framework.DependencyInjection;
|
||||
using Microsoft.Framework.Logging;
|
||||
using Microsoft.Framework.Logging.Console;
|
||||
using SampleWebAppIntegration.Models;
|
||||
|
||||
namespace SampleWebAppIntegration
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
@using Microsoft.ApplicationInsights.AspNet
|
||||
@using Microsoft.Framework.DependencyInjection
|
||||
@inject Microsoft.ApplicationInsights.DataContracts.RequestTelemetry RequestTelemetry
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
|
|
|
@ -1,15 +1,9 @@
|
|||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Threading.Tasks;
|
||||
using Microsoft.ApplicationInsights.AspNet;
|
||||
using FunctionalTestUtils;
|
||||
using Microsoft.AspNet.Builder;
|
||||
using Microsoft.AspNet.Hosting;
|
||||
using Microsoft.AspNet.Http;
|
||||
using Microsoft.AspNet.Routing;
|
||||
using Microsoft.Framework.DependencyInjection;
|
||||
using Microsoft.Framework.ConfigurationModel;
|
||||
using FunctionalTestUtils;
|
||||
using Microsoft.Framework.DependencyInjection;
|
||||
|
||||
namespace SampleWebAPIIntegration
|
||||
{
|
||||
|
|
Загрузка…
Ссылка в новой задаче