Files
Disco/Disco.Web/Areas/Config/Models/Plugins/PluginConfigurationViewModel.cs
T
Gary Sharp 401ae029f1 Update: Use Generics for Compiled View
Also standardize inclusion of StyleSheets/Scripts for Plugin Resources
2013-10-21 20:05:33 +11:00

23 lines
674 B
C#

using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using Disco.Services.Plugins;
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;
}
}
}