aboutsummaryrefslogtreecommitdiff
path: root/MediaBrowser.Common/Configuration/IConfigurationFactory.cs
blob: 0fb2b83d1b5c3c6f1e3be4711725d21ee65d2ae8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
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);
    }
}