mirror of
https://github.com/cefsharp/CefSharp.git
synced 2026-12-04 10:22:55 +00:00
b492905cea
- Move the less likely to be used structs/enums into the relevant namespaces, would ideally like to move them all, would likely cause a few issues for some when upgrading though, so deferring for now. - Remove Geoposition as it's no longer used (Geolocation API was removed in CEF)
30 lines
656 B
C#
30 lines
656 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.
|
|
|
|
namespace CefSharp.Structs
|
|
{
|
|
/// <summary>
|
|
/// Represents a range
|
|
/// </summary>
|
|
public struct Range
|
|
{
|
|
/// <summary>
|
|
/// From
|
|
/// </summary>
|
|
public int From { get; private set; }
|
|
|
|
/// <summary>
|
|
/// To
|
|
/// </summary>
|
|
public int To { get; private set; }
|
|
|
|
public Range(int from, int to)
|
|
: this()
|
|
{
|
|
From = from;
|
|
To = to;
|
|
}
|
|
}
|
|
}
|