Add MicCheck.Client library with FeatureClient.IsEnabledAsync

Client-side SDK for checking feature flag state against the flags API,
with unit tests mocking HttpMessageHandler.
This commit is contained in:
James Wampler
2026-07-09 12:48:21 -07:00
parent 8262cd2f61
commit 3eebef56a0
7 changed files with 184 additions and 0 deletions
@@ -0,0 +1,24 @@
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<TargetFramework>net10.0</TargetFramework>
<Nullable>enable</Nullable>
<ImplicitUsings>enable</ImplicitUsings>
<LangVersion>latest</LangVersion>
<IsPackable>false</IsPackable>
<TreatWarningsAsErrors>true</TreatWarningsAsErrors>
</PropertyGroup>
<ItemGroup>
<PackageReference Include="coverlet.collector" Version="6.0.4" />
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="18.3.0" />
<PackageReference Include="Moq" Version="4.20.72" />
<PackageReference Include="NUnit" Version="4.5.1" />
<PackageReference Include="NUnit3TestAdapter" Version="6.2.0" />
</ItemGroup>
<ItemGroup>
<ProjectReference Include="../../../src/MicCheck.Client/MicCheck.Client.csproj" />
</ItemGroup>
</Project>