public static string EntityRegistryUpdated([NotNull] this IEventTypes eventTypes) { if (eventTypes == null) { throw new ArgumentNullException(nameof(eventTypes)); } return(EventTypes.FormatName()); }
public static string HomeassistantStop([NotNull] this IEventTypes eventTypes) { if (eventTypes == null) { throw new ArgumentNullException(nameof(eventTypes)); } return(EventTypes.FormatName()); }
public static string ServiceExecuted([NotNull] this IEventTypes eventTypes) { if (eventTypes == null) { throw new ArgumentNullException(nameof(eventTypes)); } return(EventTypes.FormatName()); }
public static string ComponentLoaded([NotNull] this IEventTypes eventTypes) { if (eventTypes == null) { throw new ArgumentNullException(nameof(eventTypes)); } return(EventTypes.FormatName()); }
public static string PersistentNotificationsUpdated([NotNull] this IEventTypes eventTypes) { if (eventTypes == null) { throw new ArgumentNullException(nameof(eventTypes)); } return(EventTypes.FormatName()); }
public static string PlatformDiscovered([NotNull] this IEventTypes eventTypes) { if (eventTypes == null) { throw new ArgumentNullException(nameof(eventTypes)); } return(EventTypes.FormatName()); }
public Eventas() { EventId = 0; EventName = ""; Name = ""; EventType = null; Longitude = 0.0f; Latitude = 0.0f; PeopleCount = 0; Description = ""; City = ""; Country = ""; }
public Eventas(int eventid, string eventname, string name, IEventTypes eventtypes, float longitude, float latitude, int peoplecount, string description, string city, string country) { EventId = eventid; EventName = eventname; Name = name; EventTypes = eventtypes; Longitude = longitude; Latitude = latitude; PeopleCount = peoplecount; Description = description; City = city; Country = country; }
public EventsController( EventsDbContext context, IVenueAvailabilities availabilities, IVenueReservation reservations, IEventTypes eventTypes, IMenuFoodManagement menuFood, IMenuManagement menu ) { _context = context; _availabilities = availabilities; _reservations = reservations; _eventTypes = eventTypes; _menuManagement = menu; _menuFoodManagement = menuFood; }
/// <summary> /// Initializes a new instance of the <see cref="EventTypesService"/> class. /// </summary> /// <param name="eventTypes">The Event Types.</param> public EventTypesService(IEventTypes eventTypes) { _eventTypes = eventTypes; }
public EventTypesService(IEventTypes eventTypes, ILogger logger) { _eventTypes = eventTypes; _logger = logger; }