Files
cefsharp/CefSharp/AddressChangedEventArgs.cs
T
2016-04-15 15:27:19 +10:00

36 lines
1.0 KiB
C#

// Copyright © 2010-2016 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
{
/// <summary>
/// Event arguments for the AddressChanged event handler.
/// </summary>
public class AddressChangedEventArgs : EventArgs
{
/// <summary>
/// Access to the underlying <see cref="IBrowser"/> object
/// </summary>
public IBrowser Browser { get; private set; }
/// <summary>
/// The new address
/// </summary>
public string Address { get; private set; }
/// <summary>
/// Creates a new AddressChangedEventArgs event argument.
/// </summary>
/// <param name="browser">the browser object</param>
/// <param name="address">the address</param>
public AddressChangedEventArgs(IBrowser browser, string address)
{
Browser = browser;
Address = address;
}
}
}