Implemented Telemetry class via an interface for test ease
This commit is contained in:
parent
d9e169e77a
commit
25745d9d4e
4 changed files with 75 additions and 20 deletions
13
src/Microsoft.DotNet.Cli.Utils/ITelemetry.cs
Normal file
13
src/Microsoft.DotNet.Cli.Utils/ITelemetry.cs
Normal file
|
|
@ -0,0 +1,13 @@
|
|||
// Copyright (c) .NET Foundation and contributors. All rights reserved.
|
||||
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
|
||||
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
|
||||
namespace Microsoft.DotNet.Cli.Utils
|
||||
{
|
||||
public interface ITelemetry
|
||||
{
|
||||
void TrackEvent(string eventName, IDictionary<string, string> properties, IDictionary<string, double> measurements);
|
||||
}
|
||||
}
|
||||
Reference in a new issue