diff options
| author | Luke Pulverenti <luke.pulverenti@gmail.com> | 2015-04-09 01:20:23 -0400 |
|---|---|---|
| committer | Luke Pulverenti <luke.pulverenti@gmail.com> | 2015-04-09 01:20:23 -0400 |
| commit | b9c656e859fe28ed6a66580d1eb5577bd50264e6 (patch) | |
| tree | b1149cb31bc6be25bb30e416195f7228a276d987 /MediaBrowser.Common.Implementations/BaseApplicationHost.cs | |
| parent | 6e6ce82cf6d8418c83d4090b19b7d29f036b3aa0 (diff) | |
added out of network bitrate limit
Diffstat (limited to 'MediaBrowser.Common.Implementations/BaseApplicationHost.cs')
| -rw-r--r-- | MediaBrowser.Common.Implementations/BaseApplicationHost.cs | 13 |
1 files changed, 4 insertions, 9 deletions
diff --git a/MediaBrowser.Common.Implementations/BaseApplicationHost.cs b/MediaBrowser.Common.Implementations/BaseApplicationHost.cs index bc1b0e785..70ed5c319 100644 --- a/MediaBrowser.Common.Implementations/BaseApplicationHost.cs +++ b/MediaBrowser.Common.Implementations/BaseApplicationHost.cs @@ -102,12 +102,6 @@ namespace MediaBrowser.Common.Implementations public List<string> FailedAssemblies { get; protected set; } /// <summary> - /// Gets all types within all running assemblies - /// </summary> - /// <value>All types.</value> - public Type[] AllTypes { get; protected set; } - - /// <summary> /// Gets all concrete types. /// </summary> /// <value>All concrete types.</value> @@ -438,9 +432,10 @@ namespace MediaBrowser.Common.Implementations Logger.Info("Loading {0}", assembly.FullName); } - AllTypes = assemblies.SelectMany(GetTypes).ToArray(); - - AllConcreteTypes = AllTypes.Where(t => t.IsClass && !t.IsAbstract && !t.IsInterface && !t.IsGenericType).ToArray(); + AllConcreteTypes = assemblies + .SelectMany(GetTypes) + .Where(t => t.IsClass && !t.IsAbstract && !t.IsInterface && !t.IsGenericType) + .ToArray(); } /// <summary> |
