/ src / common / AllExperiments / Microsoft.VariantAssignment / Client / VariantAssignmentServiceClient.cs
VariantAssignmentServiceClient.cs
1 // Copyright (c) Microsoft Corporation 2 // The Microsoft Corporation licenses this file to you under the MIT license. 3 // See the LICENSE file in the project root for more information. 4 5 using Microsoft.VariantAssignment.Contract; 6 7 // The goal of this class is to just mock out the Microsoft.VariantAssignment close source objects 8 namespace Microsoft.VariantAssignment.Client 9 { 10 internal sealed partial class VariantAssignmentServiceClient<TServerResponse> : IVariantAssignmentProvider, IDisposable 11 where TServerResponse : VariantAssignmentServiceResponse 12 { 13 public void Dispose() 14 { 15 throw new NotImplementedException(); 16 } 17 18 public Task<IVariantAssignmentResponse> GetVariantAssignmentsAsync(IVariantAssignmentRequest request, CancellationToken ct = default) 19 { 20 return Task.FromResult(EmptyVariantAssignmentResponse.Instance); 21 } 22 } 23 }