Files
cefsharp/CefSharp/Structs/ResolveCallbackResult.cs
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.1 KiB
C#

// Copyright © 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.Collections.Generic;
namespace CefSharp
{
/// <summary>
/// IP Address solution callback result
/// </summary>
public struct ResolveCallbackResult
{
/// <summary>
/// The result code - <see cref="CefErrorCode.None"/> on success
/// </summary>
public CefErrorCode Result { get; private set; }
/// <summary>
/// List of resolved IP addresses or empty if the resolution failed.
/// </summary>
public IList<string> ResolvedIpAddresses { get; private set; }
/// <summary>
/// ResolveCallbackResult
/// </summary>
/// <param name="result">result</param>
/// <param name="resolvedIpAddresses">list of ip addresses</param>
public ResolveCallbackResult(CefErrorCode result, IList<string> resolvedIpAddresses) : this()
{
Result = result;
ResolvedIpAddresses = resolvedIpAddresses;
}
}
}