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>
        /// <param name="arg2">A value to format.</param>
        public void AppendFormat <T0, T1, T2>(string format, T0 arg0, T1 arg1, T2 arg2)
        {
            var args = new Arg3 <T0, T1, T2>(arg0, arg1, arg2);

            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>
        /// <param name="arg2">A value to format.</param>
        public unsafe void AppendFormat <T0, T1, T2>(string format, T0 arg0, T1 arg1, T2 arg2)
        {
            var args = new Arg3 <T0, T1, T2>(Unsafe.AsPointer(ref arg0), Unsafe.AsPointer(ref arg1), Unsafe.AsPointer(ref arg2));

            AppendArgSet(format, ref args);
        }