Files
Disco/Disco.Web/Areas/Config/Models/Plugins/PluginConfigurationViewModel.cs
2014-07-28 15:02:33 +10:00

20 lines
603 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)
{
this.Manifest = response.Manifest;
this.PluginViewType = response.ViewType;
this.PluginViewModel = response.Model;
}
}
}