Abc.NCrafts.App.MainViewModel.GetQuizPath C# (CSharp) Method

GetQuizPath() private static method

private static GetQuizPath ( QuizzType quizzType ) : string
quizzType QuizzType
return string
        private static string GetQuizPath(QuizzType quizzType)
        {
            var quizPathRoot = GetQuizPathRoot();
            if (string.IsNullOrEmpty(quizPathRoot))
                throw new InvalidOperationException("Unable to locate quiz path, you should set \"Quiz.Path\" setting key.");

            return Path.Combine(quizPathRoot, quizzType.ToString(), "Questions");
        }