Microsoft.ApplicationInsights.TestFramework.EventSourceTest.GenerateArgument(System.Reflection.ParameterInfo)

Here are the examples of the csharp api class Microsoft.ApplicationInsights.TestFramework.EventSourceTest.GenerateArgument(System.Reflection.ParameterInfo) taken from open source projects. By voting up you can indicate which examples are most useful and appropriate.

1 Example 7

1. Example

Project: ApplicationInsights-dotnet
Source File: EventSourceTest.cs
private static object[] GenerateEventArguments(MethodInfo eventMethod)
        {
            ParameterInfo[] parameters = eventMethod.GetParameters();
            var arguments = new object[parameters.Length];
            for (int i = 0; i < parameters.Length; i++)
            {
                arguments[i] = GenerateArgument(parameters[i]);
            }

            return arguments;
        }