Files
cefsharp/CefSharp/ResolveCallbackResult.cs
T

28 lines
863 B
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.Collections.Generic;
namespace CefSharp
{
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; }
public ResolveCallbackResult(CefErrorCode result, IList<string> resolvedIpAddresses) : this()
{
Result = result;
ResolvedIpAddresses = resolvedIpAddresses;
}
}
}