소스 검색

Move ResourcePool to common

Eric Reed 12 년 전
부모
커밋
8956f6ff4a

+ 3 - 0
MediaBrowser.Common.Implementations/MediaBrowser.Common.Implementations.csproj

@@ -162,6 +162,9 @@
     <Content Include="swagger-ui\swagger-ui.js" />
     <Content Include="swagger-ui\swagger-ui.min.js" />
   </ItemGroup>
+  <ItemGroup>
+    <Folder Include="Updates\" />
+  </ItemGroup>
   <Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
   <Import Project="$(SolutionDir)\.nuget\nuget.targets" />
   <PropertyGroup>

+ 2 - 2
MediaBrowser.Controller/Library/ResourcePool.cs → MediaBrowser.Common/Kernel/ResourcePool.cs

@@ -1,7 +1,7 @@
-using System;
+using System;
 using System.Threading;
 
-namespace MediaBrowser.Controller.Library
+namespace MediaBrowser.Common.Kernel
 {
     /// <summary>
     /// This is just a collection of semaphores to control the number of concurrent executions of various resources

+ 1 - 0
MediaBrowser.Common/MediaBrowser.Common.csproj

@@ -95,6 +95,7 @@
     <Compile Include="Kernel\IWebSocketListener.cs" />
     <Compile Include="Kernel\IApplicationHost.cs" />
     <Compile Include="Kernel\IKernel.cs" />
+    <Compile Include="Kernel\ResourcePool.cs" />
     <Compile Include="Net\Handlers\IHttpServerHandler.cs" />
     <Compile Include="Net\Handlers\StaticFileHandler.cs" />
     <Compile Include="Net\IHttpClient.cs" />

+ 0 - 1
MediaBrowser.Controller/MediaBrowser.Controller.csproj

@@ -177,7 +177,6 @@
     <Compile Include="Resolvers\TV\SeasonResolver.cs" />
     <Compile Include="Resolvers\TV\SeriesResolver.cs" />
     <Compile Include="Resolvers\TV\TVUtils.cs" />
-    <Compile Include="Library\ResourcePool.cs" />
     <Compile Include="ScheduledTasks\PeopleValidationTask.cs" />
     <Compile Include="ScheduledTasks\RefreshMediaLibraryTask.cs" />
     <Compile Include="Library\ItemResolveArgs.cs" />