// Copyright © 2020 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.DevTools.Debugger
{
///
/// Scope description.
///
[System.Runtime.Serialization.DataContractAttribute]
public class Scope : CefSharp.DevTools.DevToolsDomainEntityBase
{
///
/// Scope type.
///
[System.Runtime.Serialization.DataMemberAttribute(Name = ("type"), IsRequired = (true))]
public string Type
{
get;
set;
}
///
/// Object representing the scope. For `global` and `with` scopes it represents the actual
/// object; for the rest of the scopes, it is artificial transient object enumerating scope
/// variables as its properties.
///
[System.Runtime.Serialization.DataMemberAttribute(Name = ("object"), IsRequired = (true))]
public CefSharp.DevTools.Runtime.RemoteObject Object
{
get;
set;
}
///
/// Name
///
[System.Runtime.Serialization.DataMemberAttribute(Name = ("name"), IsRequired = (false))]
public string Name
{
get;
set;
}
///
/// Location in the source code where scope starts
///
[System.Runtime.Serialization.DataMemberAttribute(Name = ("startLocation"), IsRequired = (false))]
public CefSharp.DevTools.Debugger.Location StartLocation
{
get;
set;
}
///
/// Location in the source code where scope ends
///
[System.Runtime.Serialization.DataMemberAttribute(Name = ("endLocation"), IsRequired = (false))]
public CefSharp.DevTools.Debugger.Location EndLocation
{
get;
set;
}
}
}