public static SignalRServiceMode GetServiceMode()

in src/Libs/Common/Extensions/TestCategoryExtensions.cs [10:22]


        public static SignalRServiceMode GetServiceMode(this TestCategory category)
        {
            switch (category)
            {
                case TestCategory.AspnetCoreSignalR:
                case TestCategory.AspnetSignalR:
                    return SignalRServiceMode.Default;
                case TestCategory.AspnetCoreSignalRServerless:
                    return SignalRServiceMode.Serverless;
                default:
                    throw new ArgumentOutOfRangeException(nameof(category));
            }
        }