// 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.Profiler { /// /// Coverage data for a JavaScript function. /// [System.Runtime.Serialization.DataContractAttribute] public class FunctionCoverage : CefSharp.DevTools.DevToolsDomainEntityBase { /// /// JavaScript function name. /// [System.Runtime.Serialization.DataMemberAttribute(Name = ("functionName"), IsRequired = (true))] public string FunctionName { get; set; } /// /// Source ranges inside the function with coverage data. /// [System.Runtime.Serialization.DataMemberAttribute(Name = ("ranges"), IsRequired = (true))] public System.Collections.Generic.IList Ranges { get; set; } /// /// Whether coverage data for this function has block granularity. /// [System.Runtime.Serialization.DataMemberAttribute(Name = ("isBlockCoverage"), IsRequired = (true))] public bool IsBlockCoverage { get; set; } } }