Moved filesytem abstractions + removed resharper warnings

This commit is contained in:
Bjarke Berg
2019-11-04 19:22:17 +01:00
parent 10fd0bd013
commit fc2fc18a26
8 changed files with 8 additions and 12 deletions

View File

@@ -6,8 +6,4 @@
<RootNamespace>Umbraco.Core</RootNamespace>
</PropertyGroup>
<ItemGroup>
<Folder Include="Models\ContentEditing" />
</ItemGroup>
</Project>

View File

@@ -225,6 +225,9 @@
<Compile Include="Composing\TargetedServiceFactory.cs" />
<Compile Include="Composing\TypeFinder.cs" />
<Compile Include="Composing\TypeLoader.cs" />
<Compile Include="IO\IMediaFileSystem.cs" />
<Compile Include="IO\IMediaPathScheme.cs" />
<Compile Include="IO\IOHelper.cs" />
<Compile Include="IO\MediaPathSchemes\UniqueMediaPathScheme.cs" />
<Compile Include="Logging\Viewer\LogTimePeriod.cs" />
<Compile Include="Manifest\IManifestFilter.cs" />
@@ -339,6 +342,7 @@
<Compile Include="Services\Changes\TreeChange.cs" />
<Compile Include="Services\Changes\TreeChangeExtensions.cs" />
<Compile Include="Services\IDataTypeService.cs" />
<Compile Include="Services\IEntityService.cs" />
<Compile Include="Services\IFileService.cs" />
<Compile Include="Services\ILocalizationService.cs" />
<Compile Include="Services\IMacroService.cs" />
@@ -408,11 +412,8 @@
<Compile Include="Deploy\IDataTypeConfigurationConnector.cs" />
<Compile Include="Events\CancellableObjectEventArgsOfTEventObject.cs" />
<Compile Include="Events\RolesEventArgs.cs" />
<Compile Include="IO\IFileSystems.cs" />
<Compile Include="IO\IMediaFileSystem.cs" />
<Compile Include="GuidUtils.cs" />
<Compile Include="IO\MediaPathSchemes\CombinedGuidsMediaPathScheme.cs" />
<Compile Include="IO\IMediaPathScheme.cs" />
<Compile Include="IO\MediaPathSchemes\OriginalMediaPathScheme.cs" />
<Compile Include="IO\MediaPathSchemes\TwoGuidsMediaPathScheme.cs" />
<Compile Include="IO\SupportingFileSystems.cs" />
@@ -594,8 +595,6 @@
<Compile Include="IO\FileSystemExtensions.cs" />
<Compile Include="IO\FileSystems.cs" />
<Compile Include="IO\FileSystemWrapper.cs" />
<Compile Include="IO\IFileSystem.cs" />
<Compile Include="IO\IOHelper.cs" />
<Compile Include="IO\MediaFileSystem.cs" />
<Compile Include="IO\PhysicalFileSystem.cs" />
<Compile Include="IO\ShadowFileSystem.cs" />
@@ -1160,7 +1159,6 @@
<Compile Include="Services\IContentTypeService.cs" />
<Compile Include="Services\IContentTypeServiceBase.cs" />
<Compile Include="Services\IdkMap.cs" />
<Compile Include="Services\IEntityService.cs" />
<Compile Include="Services\IExternalLoginService.cs" />
<Compile Include="Services\IMediaService.cs" />
<Compile Include="Services\IMediaTypeService.cs" />

View File

@@ -196,6 +196,7 @@ namespace Umbraco.Tests.Routing
public ActionResult HomePage(ContentModel model)
{
// ReSharper disable once Mvc.ViewNotResolved
return View();
}

View File

@@ -184,6 +184,7 @@ namespace Umbraco.Tests.Web.Mvc
public ActionResult Index()
{
// ReSharper disable once Mvc.ViewNotResolved
return View();
}

View File

@@ -32,6 +32,7 @@ namespace Umbraco.Web.Mvc
//check if the controller is an instance of IRenderController and find the index
if (controllerContext.Controller is IRenderController)
{
// ReSharper disable once Mvc.ActionNotResolved
return controllerDescriptor.FindAction(controllerContext, "Index");
}
}

View File

@@ -94,7 +94,6 @@
<IncludeAssets>runtime; build; native; contentfiles; analyzers</IncludeAssets>
<PrivateAssets>all</PrivateAssets>
</PackageReference>
<PackageReference Include="Semver" Version="2.0.4" />
<PackageReference Include="System.Threading.Tasks.Dataflow" Version="4.9.0" />
<PackageReference Include="Umbraco.Code">
<Version>1.0.5</Version>
@@ -1283,4 +1282,4 @@
<Output TaskParameter="SerializationAssembly" ItemName="SerializationAssembly" />
</SGen>
</Target>
</Project>
</Project>