aboutsummaryrefslogtreecommitdiff
path: root/MediaBrowser.Common/Configuration/IConfigurationFactory.cs
blob: 4c4060096deabdf0b36a8074408d93c6fe627dbe (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
#pragma warning disable CS1591

using System;
using System.Collections.Generic;

namespace MediaBrowser.Common.Configuration
{
    public interface IConfigurationFactory
    {
        IEnumerable<ConfigurationStore> GetConfigurations();
    }

    public class ConfigurationStore
    {
        public string Key { get; set; }

        public Type ConfigurationType { get; set; }
    }

    public interface IValidatingConfiguration
    {
        void Validate(object oldConfig, object newConfig);
    }
}