Exemplo n.º 1
0
 public static string EntityRegistryUpdated([NotNull] this IEventTypes eventTypes)
 {
     if (eventTypes == null)
     {
         throw new ArgumentNullException(nameof(eventTypes));
     }
     return(EventTypes.FormatName());
 }
Exemplo n.º 2
0
 public static string HomeassistantStop([NotNull] this IEventTypes eventTypes)
 {
     if (eventTypes == null)
     {
         throw new ArgumentNullException(nameof(eventTypes));
     }
     return(EventTypes.FormatName());
 }
Exemplo n.º 3
0
 public static string ServiceExecuted([NotNull] this IEventTypes eventTypes)
 {
     if (eventTypes == null)
     {
         throw new ArgumentNullException(nameof(eventTypes));
     }
     return(EventTypes.FormatName());
 }
Exemplo n.º 4
0
 public static string ComponentLoaded([NotNull] this IEventTypes eventTypes)
 {
     if (eventTypes == null)
     {
         throw new ArgumentNullException(nameof(eventTypes));
     }
     return(EventTypes.FormatName());
 }
Exemplo n.º 5
0
 public static string PersistentNotificationsUpdated([NotNull] this IEventTypes eventTypes)
 {
     if (eventTypes == null)
     {
         throw new ArgumentNullException(nameof(eventTypes));
     }
     return(EventTypes.FormatName());
 }
Exemplo n.º 6
0
 public static string PlatformDiscovered([NotNull] this IEventTypes eventTypes)
 {
     if (eventTypes == null)
     {
         throw new ArgumentNullException(nameof(eventTypes));
     }
     return(EventTypes.FormatName());
 }
Exemplo n.º 7
0
 public Eventas()
 {
     EventId = 0;
     EventName = "";
     Name = "";
     EventType = null;
     Longitude = 0.0f;
     Latitude = 0.0f;
     PeopleCount = 0;
     Description = "";
     City = "";
     Country = "";
 }
Exemplo n.º 8
0
 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;
 }
Exemplo n.º 9
0
 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;
 }
Exemplo n.º 10
0
 /// <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;
 }
Exemplo n.º 11
0
 public EventTypesService(IEventTypes eventTypes, ILogger logger)
 {
     _eventTypes = eventTypes;
     _logger     = logger;
 }