1
0
mirror of https://github.com/Artemis-RGB/Artemis synced 2025-12-13 05:48:35 +00:00
Artemis/src/Artemis.Core/Models/Profile/ProfileDescriptor.cs
Robert d955bc8635 Profiles - Finished dispose implementation
Profiles - Added transition between active profiles
Core - Added startup animation
2020-08-10 19:16:21 +02:00

24 lines
648 B
C#

using System;
using Artemis.Core.Plugins.Abstract;
using Artemis.Storage.Entities.Profile;
namespace Artemis.Core.Models.Profile
{
public class ProfileDescriptor
{
internal ProfileDescriptor(ProfileModule profileModule, ProfileEntity profileEntity)
{
ProfileModule = profileModule;
Id = profileEntity.Id;
Name = profileEntity.Name;
IsLastActiveProfile = profileEntity.IsActive;
}
public bool IsLastActiveProfile { get; set; }
public Guid Id { get; }
public ProfileModule ProfileModule { get; }
public string Name { get; }
}
}