Class ServiceWorkerRouterSource
- Namespace
- Selenium.WebDriver.BiDi.Cdp.ServiceWorker
- Assembly
- Selenium.WebDriver.BiDi.Cdp.dll
Corresponds to RouterSource in the spec while the representation is different as follows. (https://www.w3.org/TR/service-workers/#typedefdef-routersource)
- RouterSourceEnum: type equals cache, sourceDict is null.
- RouterSourceDict: type equals sourceDict, sourceDict has valid value.
public sealed record ServiceWorkerRouterSource : IEquatable<ServiceWorkerRouterSource>
- Inheritance
-
ServiceWorkerRouterSource
- Implements
- Inherited Members
Constructors
ServiceWorkerRouterSource(ServiceWorkerRouterSourceType)
Corresponds to RouterSource in the spec while the representation is different as follows. (https://www.w3.org/TR/service-workers/#typedefdef-routersource)
- RouterSourceEnum: type equals cache, sourceDict is null.
- RouterSourceDict: type equals sourceDict, sourceDict has valid value.
public ServiceWorkerRouterSource(ServiceWorkerRouterSourceType Type)
Parameters
Properties
SourceDict
Non-empty iff type equals "sourceDict".
public ServiceWorkerRouterSourceDict? SourceDict { get; init; }
Property Value
Type
public ServiceWorkerRouterSourceType Type { get; init; }