mirror of
https://github.com/PepperDash/Essentials.git
synced 2026-04-13 04:26:49 +00:00
Updates GetComponetsofType generic
This commit is contained in:
parent
bee73edbe1
commit
76a8b50b6f
3 changed files with 5 additions and 3 deletions
|
|
@ -16,7 +16,7 @@ namespace PepperDash.Essentials.Core.Interfaces.Components
|
|||
List<IActivatableComponent> Components { get; }
|
||||
List<IRoomActivityComponent> Activities { get; }
|
||||
|
||||
List<T> GetRoomComponentsOfType<T>();
|
||||
List<T> GetComponentsOfType<T>() where T : IActivatableComponent;
|
||||
List<IRoomActivityComponent> GetOrderedActvities();
|
||||
}
|
||||
|
||||
|
|
@ -88,6 +88,6 @@ namespace PepperDash.Essentials.Core.Interfaces.Components
|
|||
/// </summary>
|
||||
public interface IRoomDeviceComponent<T> : IActivatableComponent where T : EssentialsDevice
|
||||
{
|
||||
public T Device { get; }
|
||||
T Device { get; }
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue