Beispiel #1
0
 /// <summary>
 /// Initializes a new instance of the <see cref="Route"/> class.
 /// </summary>
 /// <param name="attribute">The attribute.</param>
 /// <param name="method">The method.</param>
 public Route(RouteAttribute attribute, MethodInfo method)
 {
     this.attribute = attribute;
     this.method = method;
 }
Beispiel #2
0
 /// <summary>
 /// Initializes a new instance of the <see cref="Route"/> class.
 /// </summary>
 /// <param name="attribute">The attribute.</param>
 /// <param name="method">The method.</param>
 public Route(RouteAttribute attribute, MethodInfo method)
 {
     this.attribute = attribute;
     this.method    = method;
 }