Skip to content
Snippets Groups Projects
Event.cs 703 B
using System.Collections.ObjectModel;
using Newtonsoft.Json;

namespace MasterDevs.ChromeDevTools.ProtocolGenerator
{
    public class Event : ProtocolItem
    {
        public Event()
        {
            this.Parameters = new Collection<Property>();
            this.Handlers = new Collection<string>();
        }

        public Collection<Property> Parameters
        {
            get;
            set;
        }

        public Collection<string> Handlers
        {
            get;
            set;
        }

        public bool Deprecated
        {
            get;
            set;
        }

        [JsonProperty("experimental")]
        public bool IsExperimental { get; set; }
    }
}