C# Class Microsoft.HockeyApp.TestFramework.StubTelemetryChannel

A stub of ITelemetryChannel.
Inheritance: ITelemetryChannel
Exibir arquivo Open project: bitstadium/HockeySDK-Windows

Public Methods

Method Description
Dispose ( ) : void

Implements the IDisposable.Dispose method.

Flush ( ) : void

Mock for the Flush method in ITelemetryChannel.

Send ( ITelemetry item ) : void

Implements the ITelemetryChannel.Send method by invoking the OnSend callback.

StubTelemetryChannel ( ) : System

Initializes a new instance of the StubTelemetryChannel class.

Method Details

Dispose() public method

Implements the IDisposable.Dispose method.
public Dispose ( ) : void
return void

Flush() public method

Mock for the Flush method in ITelemetryChannel.
public Flush ( ) : void
return void

Send() public method

Implements the ITelemetryChannel.Send method by invoking the OnSend callback.
public Send ( ITelemetry item ) : void
item ITelemetry
return void

StubTelemetryChannel() public method

Initializes a new instance of the StubTelemetryChannel class.
public StubTelemetryChannel ( ) : System
return System