// <auto-generated />

#nullable enable

namespace {{rootNamespace}}.{{domain.Name}}
{
    using System;
    using System.Text.Json.Serialization;

    /// <summary>
    /// {{xml-code-comment event.Description 1}}
    /// </summary>
    public sealed class {{className}}EventArgs : EventArgs
    {
    {{#each event.Parameters}}
        {{#if Description}}
        /// <summary>
        /// {{xml-code-comment Description 2}}
        /// </summary>
        {{else}}
        /// <summary>
        /// Gets or sets the {{Name}}
        /// </summary>
        {{/if}}
        [JsonPropertyName("{{Name}}")]
        {{#if Optional}}[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingDefault)]{{/if}}
        public {{typemap ../context}} {{dehumanize Name}} { get; set; }{{#unless Optional}} = default!;{{/unless}}

    {{/each}}
    }
}
