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