// 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.CSS { /// /// Media query expression descriptor. /// [System.Runtime.Serialization.DataContractAttribute] public class MediaQueryExpression : CefSharp.DevTools.DevToolsDomainEntityBase { /// /// Media query expression value. /// [System.Runtime.Serialization.DataMemberAttribute(Name = ("value"), IsRequired = (true))] public long Value { get; set; } /// /// Media query expression units. /// [System.Runtime.Serialization.DataMemberAttribute(Name = ("unit"), IsRequired = (true))] public string Unit { get; set; } /// /// Media query expression feature. /// [System.Runtime.Serialization.DataMemberAttribute(Name = ("feature"), IsRequired = (true))] public string Feature { get; set; } /// /// The associated range of the value text in the enclosing stylesheet (if available). /// [System.Runtime.Serialization.DataMemberAttribute(Name = ("valueRange"), IsRequired = (false))] public CefSharp.DevTools.CSS.SourceRange ValueRange { get; set; } /// /// Computed length of media query expression (if applicable). /// [System.Runtime.Serialization.DataMemberAttribute(Name = ("computedLength"), IsRequired = (false))] public long? ComputedLength { get; set; } } }