mirror of
https://github.com/cefsharp/CefSharp.git
synced 2026-12-04 10:22:55 +00:00
28 lines
863 B
C#
28 lines
863 B
C#
// 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
|
|
{
|
|
/// <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;
|
|
}
|
|
}
|
|
}
|