mirror of
https://github.com/farcasclaudiu/LanBackup.git
synced 2026-06-22 11:01:24 +03:00
4fbf5f7d13
minor fixes
32 lines
495 B
C#
32 lines
495 B
C#
using System;
|
|
using LanBackup.WebApp.Models.Telemetry;
|
|
|
|
namespace LanBackup.WebApp.Tests.IntegrationTests
|
|
{
|
|
internal class MockTelemetry : ITelemetryLogger
|
|
{
|
|
private bool isEnabled;
|
|
public bool IsEnabled
|
|
{
|
|
get
|
|
{
|
|
return isEnabled;
|
|
}
|
|
|
|
set
|
|
{
|
|
isEnabled = value;
|
|
}
|
|
}
|
|
|
|
public void TrackEvent(string eventmsg)
|
|
{
|
|
//DO NOTHING
|
|
}
|
|
|
|
public void TrackException(Exception ex)
|
|
{
|
|
//DO NOTHING
|
|
}
|
|
}
|
|
} |