Exemple #1
0
        /// <summary>
        /// Appends the string returned by processing a composite format string, which contains zero or more format items, to this instance. Each format item is replaced by the string representation of a single argument.
        /// </summary>
        /// <param name="format">A composite format string.</param>
        /// <param name="arg0">A value to format.</param>
        /// <param name="arg1">A value to format.</param>
        public void AppendFormat <T0, T1>(string format, T0 arg0, T1 arg1)
        {
            var args = new Arg2 <T0, T1>(arg0, arg1);

            AppendArgSet(format, ref args);
        }
Exemple #2
0
        /// <summary>
        /// Appends the string returned by processing a composite format string, which contains zero or more format items, to this instance. Each format item is replaced by the string representation of a single argument.
        /// </summary>
        /// <param name="format">A composite format string.</param>
        /// <param name="arg0">A value to format.</param>
        /// <param name="arg1">A value to format.</param>
        public unsafe void AppendFormat <T0, T1>(string format, T0 arg0, T1 arg1)
        {
            var args = new Arg2 <T0, T1>(Unsafe.AsPointer(ref arg0), Unsafe.AsPointer(ref arg1));

            AppendArgSet(format, ref args);
        }