3358d9e320
Migrate plugin library to https://services.discoict.com.au
20 lines
603 B
C#
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;
|
|
}
|
|
}
|
|
} |