Skip to content

Commit

Permalink
Added percentage filter
Browse files Browse the repository at this point in the history
  • Loading branch information
Gudavion committed Feb 1, 2023
1 parent 8a79df8 commit a580bfb
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
5 changes: 4 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
/app.db
/bin
/obj
/obj
app.db-shm
.gitignore
app.db-wal
2 changes: 1 addition & 1 deletion Program.cs
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@
builder.Services.AddAzureAppConfiguration();

// Add feature management to the container of services.
builder.Services.AddFeatureManagement().AddFeatureFilter<TargetingFilter>();
builder.Services.AddFeatureManagement().AddFeatureFilter<TargetingFilter>().AddFeatureFilter<PercentageFilter>();

builder.Services.AddSingleton<ITargetingContextAccessor, TestTargetingContextAccessor>();

Expand Down

0 comments on commit a580bfb

Please sign in to comment.