1
0
mirror of https://github.com/Radarr/Radarr.git synced 2026-04-24 22:35:49 -04:00

Added support for nested settings models so settings can be grouped together and reused for multiple providers.

This commit is contained in:
Taloth Saldono
2018-04-30 22:16:34 +02:00
parent b339fcbd82
commit 69f8fc4d5e
7 changed files with 234 additions and 115 deletions
@@ -0,0 +1,15 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace NzbDrone.Api.ClientSchema
{
public class FieldMapping
{
public Field Field { get; set; }
public Type PropertyType { get; set; }
public Func<object, object> GetterFunc { get; set; }
public Action<object, object> SetterFunc { get; set; }
}
}