// 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
{
///
/// IP Address solution callback result
///
public struct ResolveCallbackResult
{
///
/// The result code - on success
///
public CefErrorCode Result { get; private set; }
///
/// List of resolved IP addresses or empty if the resolution failed.
///
public IList ResolvedIpAddresses { get; private set; }
///
/// ResolveCallbackResult
///
/// result
/// list of ip addresses
public ResolveCallbackResult(CefErrorCode result, IList resolvedIpAddresses) : this()
{
Result = result;
ResolvedIpAddresses = resolvedIpAddresses;
}
}
}