Files
Disco/Disco.Web/Areas/Config/Models/Plugins/PluginConfigurationViewModel.cs
T
2025-07-20 11:39:42 +10:00

20 lines
588 B
C#

using Disco.Services.Plugins;
using System;
namespace Disco.Web.Areas.Config.Models.Plugins
{
public class PluginConfigurationViewModel
{
public PluginManifest Manifest { get; set; }
public Type PluginViewType { get; set; }
public object PluginViewModel { get; set; }
public PluginConfigurationViewModel(PluginConfigurationHandler.PluginConfigurationHandlerGetResponse response)
{
Manifest = response.Manifest;
PluginViewType = response.ViewType;
PluginViewModel = response.Model;
}
}
}