Definition at line 216 of file NetEventSource.cs.
217 {
218 switch (
s.ArgumentCount)
219 {
220 case 0:
222 case 1:
223 return string.Format(
s.Format,
Format(
s.GetArgument(0)));
224 case 2:
225 return string.Format(
s.Format,
Format(
s.GetArgument(0)),
Format(
s.GetArgument(1)));
226 case 3:
227 return string.Format(
s.Format,
Format(
s.GetArgument(0)),
Format(
s.GetArgument(1)),
Format(
s.GetArgument(2)));
228 default:
229 {
230 object[] arguments =
s.GetArguments();
231 object[]
array =
new object[arguments.Length];
232 for (
int i = 0;
i < arguments.Length;
i++)
233 {
235 }
236 return string.Format(
s.Format,
array);
237 }
238 }
239 }
References System.array, System.Format, and System.s.