// Copyright © 2014 The CefSharp Authors. All rights reserved. // // Use of this source code is governed by a BSD-style license that can be found in the LICENSE file. using System; namespace CefSharp { /// /// Event arguments to the FrameLoadEnd event handler set up in IWebBrowser. /// public class FrameLoadEndEventArgs : EventArgs { /// /// Creates a new FrameLoadEnd event args /// /// browser /// frame /// http statusCode public FrameLoadEndEventArgs(IBrowser browser, IFrame frame, int httpStatusCode) { Browser = browser; Frame = frame; if (frame.IsValid) { Url = frame.Url; } HttpStatusCode = httpStatusCode; } /// /// The browser that contains the frame that finished loading. /// public IBrowser Browser { get; private set; } /// /// The frame that finished loading. /// public IFrame Frame { get; private set; } /// /// The URL that was loaded. /// public string Url { get; private set; } /// /// Http Status Code /// public int HttpStatusCode { get; set; } } }