You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Create concrete classes for all the domain events in a nox solution
yaml definition:
events:
- name: CountryNameUpdatedEventdescription: Raised when the name of a country changestype: objectobjectTypeOptions:
attributes:
- name: CountryIddescription: The identifier of the country. The Iso alpha 2 codetype: countryCode2
- name: CountryNamedescription: The new name of the countrytype: text
Generated class:
// Generated by DomainEventGenerator::Generateusing Nox.Core.Interfaces.Entity;using Nox.Types;using System.Collections.Generic;namespace SampleService.Domain;/// <summary>/// a Domain event which is raised when the name of a country changes/// </summary>publicpartialclassCountryNameUpdatedEvent:INoxEvent{/// <summary>/// The identity of the country, the Iso Alpha 2 code./// </summary>publicCountryCode2?CountryId{get;set;}=null!;/// <summary>/// The new name of the country/// </summary>publicText?CountryName{get;set;}=null!;}
The text was updated successfully, but these errors were encountered:
Create concrete classes for all the domain events in a nox solution
yaml definition:
Generated class:
The text was updated successfully, but these errors were encountered: