Files
linux-packaging-mono/external/aspnetwebstack/src/System.Web.Http/Tracing/IFormatterTracer.cs
Jo Shields a575963da9 Imported Upstream version 3.6.0
Former-commit-id: da6be194a6b1221998fc28233f2503bd61dd9d14
2014-08-13 10:39:27 +01:00

25 lines
768 B
C#

// Copyright (c) Microsoft Corporation. All rights reserved. See License.txt in the project root for license information.
using System.Net.Http;
using System.Net.Http.Formatting;
using System.Web.Http.Tracing.Tracers;
namespace System.Web.Http.Tracing
{
/// <summary>
/// Interface used to mark <see cref="MediaTypeFormatterTracer"/> classes.
/// </summary>
internal interface IFormatterTracer
{
/// <summary>
/// Gets the associated <see cref="HttpRequestMessage"/>.
/// </summary>
HttpRequestMessage Request { get; }
/// <summary>
/// Gets the inner <see cref="MediaTypeFormatter"/> this tracer is monitoring.
/// </summary>
MediaTypeFormatter InnerFormatter { get; }
}
}