-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathExperiment.cs
27 lines (22 loc) · 853 Bytes
/
Experiment.cs
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
26
27
//---------------------------------------------------------------------------------
// Copyright (c) Microsoft Corporation. All rights reserved.
//
// THIS CODE AND INFORMATION ARE PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND,
// EITHER EXPRESSED OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE IMPLIED WARRANTIES
// OF MERCHANTABILITY AND/OR FITNESS FOR A PARTICULAR PURPOSE.
//---------------------------------------------------------------------------------
namespace ThroughputTest
{
using System.Threading.Tasks;
abstract class Experiment
{
public Experiment(Metrics metrics, Settings settings)
{
Metrics = metrics;
Settings = settings;
}
public Metrics Metrics { get; }
public Settings Settings { get; }
public abstract Task<Experiment> Run();
}
}