/// <summary> /// the url relocation check constructor /// </summary> /// <param name="check_url">the url to check for relocation</param> /// <param name="handler">the handler to call when a relocation was determined</param> /// <param name="mime_handler">the handler to call when a mime type was determined</param> public UrlRelocationCheck(string check_url, FoundRelocatedUrlEventHandler handler, FoundMimeTypeEventHandler mime_handler) { url = check_url; FoundRelocatedUrl += handler; FoundMimeType += mime_handler; CheckUrl(); }