forked from aspnet/AspNetWebStack
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathIFormatterTracer.cs
More file actions
25 lines (22 loc) · 813 Bytes
/
Copy pathIFormatterTracer.cs
File metadata and controls
25 lines (22 loc) · 813 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
// 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.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; }
}
}