added simple injector for dependancy management

This commit is contained in:
LukePulverenti
2013-02-22 19:24:50 -05:00
parent 107c241598
commit a2d215b6ae
16 changed files with 198 additions and 142 deletions

View File

@@ -9,8 +9,8 @@ namespace MediaBrowser.Controller.Resolvers
/// <summary>
/// Provides the core resolver ignore rules
/// </summary>
[Export(typeof(BaseResolutionIgnoreRule))]
public class CoreResolutionIgnoreRule : BaseResolutionIgnoreRule
[Export(typeof(IResolutionIgnoreRule))]
public class CoreResolutionIgnoreRule : IResolutionIgnoreRule
{
/// <summary>
/// Any folder named in this list will be ignored - can be added to at runtime for extensibility
@@ -27,7 +27,7 @@ namespace MediaBrowser.Controller.Resolvers
"extrafanart"
};
public override bool ShouldIgnore(ItemResolveArgs args)
public bool ShouldIgnore(ItemResolveArgs args)
{
// Ignore hidden files and folders
if (args.IsHidden)