public ComplexityAnalysisInvalidateOnThresholdChange()

in src/dotnet/PowerToys.CyclomaticComplexity/ComplexityAnalysisInvalidateOnThresholdChange.cs [29:33]


    public ComplexityAnalysisInvalidateOnThresholdChange(Lifetime lifetime, IDaemon daemon, ISettingsStore settingsStore)
    {
      var settingsKey = settingsStore.Schema.GetKey<CyclomaticComplexityAnalysisSettings>();
      settingsStore.AdviseChange(lifetime, settingsKey, daemon.Invalidate);
    }