コード例 #1
0
 public static string EntityRegistryUpdated([NotNull] this IEventTypes eventTypes)
 {
     if (eventTypes == null)
     {
         throw new ArgumentNullException(nameof(eventTypes));
     }
     return(EventTypes.FormatName());
 }
コード例 #2
0
 public static string HomeassistantStop([NotNull] this IEventTypes eventTypes)
 {
     if (eventTypes == null)
     {
         throw new ArgumentNullException(nameof(eventTypes));
     }
     return(EventTypes.FormatName());
 }
コード例 #3
0
 public static string ServiceExecuted([NotNull] this IEventTypes eventTypes)
 {
     if (eventTypes == null)
     {
         throw new ArgumentNullException(nameof(eventTypes));
     }
     return(EventTypes.FormatName());
 }
コード例 #4
0
 public static string ComponentLoaded([NotNull] this IEventTypes eventTypes)
 {
     if (eventTypes == null)
     {
         throw new ArgumentNullException(nameof(eventTypes));
     }
     return(EventTypes.FormatName());
 }
コード例 #5
0
 public static string PersistentNotificationsUpdated([NotNull] this IEventTypes eventTypes)
 {
     if (eventTypes == null)
     {
         throw new ArgumentNullException(nameof(eventTypes));
     }
     return(EventTypes.FormatName());
 }
コード例 #6
0
 public static string PlatformDiscovered([NotNull] this IEventTypes eventTypes)
 {
     if (eventTypes == null)
     {
         throw new ArgumentNullException(nameof(eventTypes));
     }
     return(EventTypes.FormatName());
 }
コード例 #7
0
ファイル: Eventas.cs プロジェクト: RimvydasJ/Application
 public Eventas()
 {
     EventId = 0;
     EventName = "";
     Name = "";
     EventType = null;
     Longitude = 0.0f;
     Latitude = 0.0f;
     PeopleCount = 0;
     Description = "";
     City = "";
     Country = "";
 }
コード例 #8
0
ファイル: Eventas.cs プロジェクト: RimvydasJ/Application
 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;
 }
コード例 #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;
 }
コード例 #10
0
ファイル: EventTypesService.cs プロジェクト: dolittle/Runtime
 /// <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;
 }
コード例 #11
0
 public EventTypesService(IEventTypes eventTypes, ILogger logger)
 {
     _eventTypes = eventTypes;
     _logger     = logger;
 }