Files
cefsharp/CefSharp/DevTools/TargetFilter.cs
Alex Maitland ae55a9ffe7 DevTools Client - Reorder optional params
- Fix compiler error, the generated code now always includes optional params at the end
- And overload for LoadNetworkResourceAsync has been added to avoid a breaking change
2022-10-04 12:53:00 +10:00

24 lines
912 B
C#

// Copyright © 2022 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.Target
{
/// <summary>
/// The entries in TargetFilter are matched sequentially against targets and the first entry that matches
/// determines if the target is included or not, depending on the value of exclude field in the entry.
/// If filter is not specified, the one assumed is [{type: "browser", exclude: true}, {type: "tab", exclude: true}, {}] (i.e. include everything but browser and tab).
/// </summary>
public class TargetFilter : DevToolsDomainEntityBase
{
/// <summary>
/// Type
/// </summary>
public string Type { get; set; }
/// <summary>
/// Exclude
/// </summary>
public bool Exclude { get; set; }
}
}