Files
cefsharp/CefSharp/Event/AddressChangedEventArgs.cs
T
Chris bef5dd37c4 Maintenance - Fixed formatting, file encoding, and copyright year (#2504)
* Applied formatting

* Fixed file encoding + Updated copyright year

* Updated License

* Fixed more file encoding

* Copyright notice now shows the year the file was created
2018-09-10 10:41:13 +10:00

36 lines
1.0 KiB
C#

// 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
{
/// <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;
}
}
}