Beispiel #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>

        /// <param name="arg3">A value to format.</param>

        /// <param name="arg4">A value to format.</param>

        /// <param name="arg5">A value to format.</param>
        public void AppendFormat <T0, T1, T2, T3, T4, T5>(string format, T0 arg0, T1 arg1, T2 arg2, T3 arg3, T4 arg4, T5 arg5)
        {
            var args = new Arg6 <T0, T1, T2, T3, T4, T5>(__makeref(arg0), __makeref(arg1), __makeref(arg2), __makeref(arg3), __makeref(arg4), __makeref(arg5));

            AppendArgSet(format, ref args);
        }
Beispiel #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>
        /// <param name="arg3">A value to format.</param>
        /// <param name="arg4">A value to format.</param>
        /// <param name="arg5">A value to format.</param>
        public void AppendFormat <T0, T1, T2, T3, T4, T5>(string format, T0 arg0, T1 arg1, T2 arg2, T3 arg3, T4 arg4, T5 arg5)
        {
            var args = new Arg6 <T0, T1, T2, T3, T4, T5>(arg0, arg1, arg2, arg3, arg4, arg5);

            AppendArgSet(format, ref args);
        }
Beispiel #3
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>
        /// <param name="arg3">A value to format.</param>
        /// <param name="arg4">A value to format.</param>
        /// <param name="arg5">A value to format.</param>
        public unsafe void AppendFormat <T0, T1, T2, T3, T4, T5>(string format, T0 arg0, T1 arg1, T2 arg2, T3 arg3, T4 arg4, T5 arg5)
        {
            var args = new Arg6 <T0, T1, T2, T3, T4, T5>(Unsafe.AsPointer(ref arg0), Unsafe.AsPointer(ref arg1), Unsafe.AsPointer(ref arg2), Unsafe.AsPointer(ref arg3), Unsafe.AsPointer(ref arg4), Unsafe.AsPointer(ref arg5));

            AppendArgSet(format, ref args);
        }