Bloom.NonFatalProblem.Matches C# (CSharp) Method

Matches() private static method

private static Matches ( ModalIf threshold ) : IEnumerable
threshold ModalIf
return IEnumerable
        private static IEnumerable<string> Matches(ModalIf threshold)
        {
            switch (threshold)
            {
                case ModalIf.All:
                    return new string[] { "" /*will match anything*/};
                case ModalIf.Beta:
                    return new string[] { "developer", "alpha", "beta" };
                case ModalIf.Alpha:
                    return new string[] { "developer", "alpha" };
                default:
                    return new string[] { };
            }
        }