init lserp cs 5.0
This commit is contained in:
@@ -0,0 +1,39 @@
|
||||
namespace Cef3
|
||||
{
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Text;
|
||||
using Cef3.Interop;
|
||||
|
||||
public struct CefPageRange
|
||||
{
|
||||
internal static unsafe CefPageRange Create(cef_page_range_t* pageRange)
|
||||
{
|
||||
return new CefPageRange(
|
||||
pageRange->from,
|
||||
pageRange->to
|
||||
);
|
||||
}
|
||||
|
||||
private int _from;
|
||||
private int _to;
|
||||
|
||||
public CefPageRange(int from, int to)
|
||||
{
|
||||
_from = from;
|
||||
_to = to;
|
||||
}
|
||||
|
||||
public int From
|
||||
{
|
||||
get { return _from; }
|
||||
set { _from = value; }
|
||||
}
|
||||
|
||||
public int To
|
||||
{
|
||||
get { return _to; }
|
||||
set { _to = value; }
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user