-
-
Notifications
You must be signed in to change notification settings - Fork 2.9k
Expand file tree
/
Copy pathTargetFilter.cs
More file actions
23 lines (22 loc) · 912 Bytes
/
TargetFilter.cs
File metadata and controls
23 lines (22 loc) · 912 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
// 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; }
}
}