Skip to content

Instantly share code, notes, and snippets.

@JanneMattila
Created April 24, 2019 19:36
Show Gist options
  • Save JanneMattila/976e322ba208855a54265b9ab283e436 to your computer and use it in GitHub Desktop.
Save JanneMattila/976e322ba208855a54265b9ab283e436 to your computer and use it in GitHub Desktop.
Azure App Configuration
using System.Collections.Generic;
namespace FeatureTogglerApp.Features
{
public class FeatureOptions : FeatureToggles
{
public string AppName { get; set; }
public Dictionary<string, FeatureToggles> Users { get; set; }
public FeatureOptions()
{
Users = new Dictionary<string, FeatureToggles>();
}
}
public class FeatureToggles
{
public bool IndexPageCanvasEnabled { get; set; }
public bool DataApiEnabled { get; set; }
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment