mirror of
https://github.com/microsoft/PowerToys.git
synced 2025-12-16 03:37:59 +01:00
Co-authored-by: Sophia Chen <sophia.six.chen@gmail.com> Co-authored-by: Niels Laute <niels.laute@live.nl> Co-authored-by: Sophia Chen <sophchen@microsoft.com>
22 lines
937 B
C#
22 lines
937 B
C#
// Copyright (c) Microsoft Corporation
|
|
// The Microsoft Corporation licenses this file to you under the MIT license.
|
|
// See the LICENSE file in the project root for more information.
|
|
|
|
using Microsoft.VariantAssignment.Contract;
|
|
|
|
// The goal of this class is to just mock out the Microsoft.VariantAssignment close source objects
|
|
namespace Microsoft.VariantAssignment.Client
|
|
{
|
|
#pragma warning disable SA1200 // Using directives should be placed correctly
|
|
using TreatmentAssignmentServiceClient = VariantAssignmentServiceClient<TreatmentAssignmentServiceResponse>;
|
|
#pragma warning restore SA1200 // Using directives should be placed correctly
|
|
|
|
public static class VariantAssignmentClientExtensionMethods
|
|
{
|
|
public static IVariantAssignmentProvider GetTreatmentAssignmentServiceClient(this VariantAssignmentClientSettings settings)
|
|
{
|
|
return new TreatmentAssignmentServiceClient();
|
|
}
|
|
}
|
|
}
|