C# Class Microsoft.WindowsAzure.ServiceManagemenet.Common.Models.XunitTracingInterceptor

Inheritance: Hyak.Common.ICloudTracingInterceptor
ファイルを表示 Open project: Azure/azure-powershell Class Usage Examples

Public Properties

Property Type Description
traceOutput ITestOutputHelper

Public Methods

Method Description
AddToContext ( XunitTracingInterceptor interceptor ) : void
Configuration ( string source, string name, string value ) : void
Enter ( string invocationId, object instance, string method, object>.IDictionary parameters ) : void
Error ( string invocationId, Exception ex ) : void
Exit ( string invocationId, object result ) : void
Information ( string message ) : void
ReceiveResponse ( string invocationId, HttpResponseMessage response ) : void
RemoveFromContext ( XunitTracingInterceptor interceptor ) : void
SendRequest ( string invocationId, HttpRequestMessage request ) : void
XunitTracingInterceptor ( ITestOutputHelper output ) : System

Private Methods

Method Description
Write ( string message ) : void

Method Details

AddToContext() public static method

public static AddToContext ( XunitTracingInterceptor interceptor ) : void
interceptor XunitTracingInterceptor
return void

Configuration() public method

public Configuration ( string source, string name, string value ) : void
source string
name string
value string
return void

Enter() public method

public Enter ( string invocationId, object instance, string method, object>.IDictionary parameters ) : void
invocationId string
instance object
method string
parameters object>.IDictionary
return void

Error() public method

public Error ( string invocationId, Exception ex ) : void
invocationId string
ex System.Exception
return void

Exit() public method

public Exit ( string invocationId, object result ) : void
invocationId string
result object
return void

Information() public method

public Information ( string message ) : void
message string
return void

ReceiveResponse() public method

public ReceiveResponse ( string invocationId, HttpResponseMessage response ) : void
invocationId string
response System.Net.Http.HttpResponseMessage
return void

RemoveFromContext() public static method

public static RemoveFromContext ( XunitTracingInterceptor interceptor ) : void
interceptor XunitTracingInterceptor
return void

SendRequest() public method

public SendRequest ( string invocationId, HttpRequestMessage request ) : void
invocationId string
request System.Net.Http.HttpRequestMessage
return void

XunitTracingInterceptor() public method

public XunitTracingInterceptor ( ITestOutputHelper output ) : System
output ITestOutputHelper
return System

Property Details

traceOutput public_oe property

public ITestOutputHelper traceOutput
return ITestOutputHelper