protected AjaxViewsHistoryDiscoveryEvent(
			string name,
			AjaxViewsHistoryDiscoveryType type,
			string extra
			)
        {
            this.name = name;
            this.type = type;
            this.extra = extra;
        }
 /// <summary>
 /// Returns the description of a discovery type.
 /// </summary>
 /// <param name="value">The discovery type.</param>
 /// <returns>The display name.</returns>
 public static string GetTypeDescription(AjaxViewsHistoryDiscoveryType value)
 {
     string name = Enum.GetName(typeof(AjaxViewsHistoryDiscoveryType), value);
     if (null != name)
     {
         FieldInfo field = typeof(AjaxViewsHistoryDiscoveryType).GetField(name);
         if (null != field)
         {
             DescriptionAttribute attr = Attribute.GetCustomAttribute(field, typeof(DescriptionAttribute)) as DescriptionAttribute;
             if (null != attr)
             {
                 return attr.Description;
             }
         }
     }
     return null;
 }
        protected AjaxViewsHistoryDiscoveryEvent(
			string name,
			AjaxViewsHistoryDiscoveryType type
			)
        {
            this.name = name;
            this.type = type;
        }