public static string CreateSpecificResolvedPath(string specificValue, bool appendAppFolder)
        {
            var pathCreator = SpecificPathCreator.CreateDefault();

            var options = new PathCreationOptions
            {
                AppendAppFolder   = appendAppFolder,
                ShouldResolvePath = true
            };

            return(CreateSpecificPath(specificValue, options, pathCreator));
        }
        private string CombineFinalPath(string mainPartOfPath, string?additionalPath,
                                        PathCreationOptions options)
        {
            if (string.IsNullOrWhiteSpace(additionalPath))
            {
                return(options.AppendAppFolder
                    ? Path.Combine(mainPartOfPath, ApplicationName)
                    : mainPartOfPath);
            }

            return(options.AppendAppFolder
                ? Path.Combine(mainPartOfPath, ApplicationName, additionalPath)
                : Path.Combine(mainPartOfPath, additionalPath));
        }