// Copyright © 2010-2017 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
{
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; }
public ResolveCallbackResult(CefErrorCode result, IList resolvedIpAddresses) : this()
{
Result = result;
ResolvedIpAddresses = resolvedIpAddresses;
}
}
}