Esempio n. 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>
        public void AppendFormat <T0, T1, T2, T3, T4>(string format, T0 arg0, T1 arg1, T2 arg2, T3 arg3, T4 arg4)
        {
            var args = new Arg5 <T0, T1, T2, T3, T4>(__makeref(arg0), __makeref(arg1), __makeref(arg2), __makeref(arg3), __makeref(arg4));

            AppendArgSet(format, ref args);
        }
Esempio n. 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>
        public void AppendFormat <T0, T1, T2, T3, T4>(string format, T0 arg0, T1 arg1, T2 arg2, T3 arg3, T4 arg4)
        {
            var args = new Arg5 <T0, T1, T2, T3, T4>(arg0, arg1, arg2, arg3, arg4);

            AppendArgSet(format, ref args);
        }
Esempio n. 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>
        public unsafe void AppendFormat <T0, T1, T2, T3, T4>(string format, T0 arg0, T1 arg1, T2 arg2, T3 arg3, T4 arg4)
        {
            var args = new Arg5 <T0, T1, T2, T3, T4>(Unsafe.AsPointer(ref arg0), Unsafe.AsPointer(ref arg1), Unsafe.AsPointer(ref arg2), Unsafe.AsPointer(ref arg3), Unsafe.AsPointer(ref arg4));

            AppendArgSet(format, ref args);
        }