Skip to content
Snippets Groups Projects
Select Git revision
  • 1e5477a47621990db16bea08be9dd0d9c72dfd2a
  • master default
  • dependabot/nuget/source/Sample/Newtonsoft.Json-13.0.1
  • dependabot/nuget/source/MasterDevs.ChromeDevTools.Tests/Newtonsoft.Json-13.0.1
  • dependabot/nuget/source/ProtocolGenerator/Newtonsoft.Json-13.0.1
  • dependabot/nuget/source/ChromeDevTools/Newtonsoft.Json-13.0.1
  • dependabot/nuget/source/ChromeDevTools/System.Net.Http-4.3.4
  • revert-29-revert-24-protocol_62
  • revert-24-protocol_62
  • 1.1.0
  • 1.0.2
  • 1.0.1
  • 1.0.0.40915
13 results

PropertyDescriptor.cs

Blame
  • PropertyDescriptor.cs 1.92 KiB
    using ChromeDevTools;
    using Newtonsoft.Json;
    using System.Collections.Generic;
    
    namespace ChromeDevTools.Protocol.Runtime
    {
    	/// <summary>
    	/// Object property descriptor.
    	/// </summary>
    	public class PropertyDescriptor
    	{
    		/// <summary>
    		/// Gets or sets Property name or symbol description.
    		/// </summary>
    		public string Name { get; set; }
    		/// <summary>
    		/// Gets or sets The value associated with the property.
    		/// </summary>
    		public RemoteObject Value { get; set; }
    		/// <summary>
    		/// Gets or sets True if the value associated with the property may be changed (data descriptors only).
    		/// </summary>
    		public bool Writable { get; set; }
    		/// <summary>
    		/// Gets or sets A function which serves as a getter for the property, or <code>undefined</code> if there is no getter (accessor descriptors only).
    		/// </summary>
    		public RemoteObject Get { get; set; }
    		/// <summary>
    		/// Gets or sets A function which serves as a setter for the property, or <code>undefined</code> if there is no setter (accessor descriptors only).
    		/// </summary>
    		public RemoteObject Set { get; set; }
    		/// <summary>
    		/// Gets or sets True if the type of this property descriptor may be changed and if the property may be deleted from the corresponding object.
    		/// </summary>
    		public bool Configurable { get; set; }
    		/// <summary>
    		/// Gets or sets True if this property shows up during enumeration of the properties on the corresponding object.
    		/// </summary>
    		public bool Enumerable { get; set; }
    		/// <summary>
    		/// Gets or sets True if the result was thrown during the evaluation.
    		/// </summary>
    		public bool WasThrown { get; set; }
    		/// <summary>
    		/// Gets or sets True if the property is owned for the object.
    		/// </summary>
    		public bool IsOwn { get; set; }
    		/// <summary>
    		/// Gets or sets Property symbol object, if the property is of the <code>symbol</code> type.
    		/// </summary>
    		public RemoteObject Symbol { get; set; }
    	}
    }