/// <summary>Constructor.</summary> /// <param name="method">The test-method this node represents.</param> public MethodListItem(MethodInfo method) { // Setup initial conditions. this.method = method; // Set default values. Text = method.DisplayName; }
public MethodEventArgs(MethodInfo methodInfo){MethodInfo = methodInfo;}
internal void FireMethodClicked(MethodInfo methodInfo){if (MethodClicked != null) MethodClicked(this, new MethodEventArgs(methodInfo));}
private MethodListItem CreateListItem(MethodInfo methodInfo) { MethodListItem item = new MethodListItem(methodInfo); item.Click += OnItemClick; return item; }