Пример #1
0
        /// <summary>
        /// Generate the given template text from the supplied parameters values
        /// </summary>
        /// <param name="composer"></param>
        /// <param name="paramsValues"></param>
        /// <returns></returns>
        public static string GenerateText(this ParametricComposer composer, IDictionary <string, string> paramsValues)
        {
            composer.SetParametersValues(paramsValues);

            return(composer.GenerateText());
        }
Пример #2
0
        /// <summary>
        /// Generate the given template text from the supplied parameters values
        /// </summary>
        /// <param name="composer"></param>
        /// <param name="paramsValues"></param>
        /// <returns></returns>
        public static string GenerateText(this ParametricComposer composer, IParametericComposerValueSource paramsValues)
        {
            composer.SetParametersValues(paramsValues);

            return(composer.GenerateText());
        }
Пример #3
0
        /// <summary>
        /// Generate the given template text from the supplied parameters values
        /// </summary>
        /// <param name="composer"></param>
        /// <param name="paramsValues"></param>
        /// <returns></returns>
        public static string GenerateText(this ParametricComposer composer, params object[] paramsValues)
        {
            composer.SetParametersValues(paramsValues);

            return(composer.GenerateText());
        }