Cleanup warnings
- primary action is removing interfaces from Razor that Core exports - also remove an unused field from Core's `DefaultControllerAssemblyProvider`
This commit is contained in:
parent
47b33b907f
commit
d3217fd3af
|
|
@ -19,7 +19,6 @@ namespace Microsoft.AspNet.Mvc
|
|||
"Microsoft.AspNet.Mvc.Rendering",
|
||||
};
|
||||
private readonly ILibraryManager _libraryManager;
|
||||
private readonly Func<ILibraryInformation, Assembly> _assemblyLoader;
|
||||
|
||||
public DefaultControllerAssemblyProvider(ILibraryManager libraryManager)
|
||||
{
|
||||
|
|
|
|||
|
|
@ -11,7 +11,4 @@ namespace Microsoft.Net.Runtime
|
|||
string ApplicationBasePath { get; }
|
||||
FrameworkName TargetFramework { get; }
|
||||
}
|
||||
|
||||
[AssemblyNeutral]
|
||||
public class AssemblyNeutralAttribute : Attribute { }
|
||||
}
|
||||
|
|
|
|||
|
|
@ -1,12 +0,0 @@
|
|||
using System;
|
||||
using System.Collections.Generic;
|
||||
|
||||
namespace Microsoft.Net.Runtime
|
||||
{
|
||||
[AssemblyNeutral]
|
||||
public interface ILibraryExport
|
||||
{
|
||||
IList<IMetadataReference> MetadataReferences { get; }
|
||||
IList<ISourceReference> SourceReferences { get; }
|
||||
}
|
||||
}
|
||||
|
|
@ -1,12 +0,0 @@
|
|||
using System.Collections.Generic;
|
||||
|
||||
namespace Microsoft.Net.Runtime
|
||||
{
|
||||
[AssemblyNeutral]
|
||||
public interface ILibraryInformation
|
||||
{
|
||||
string Name { get; }
|
||||
|
||||
IEnumerable<string> Dependencies { get; }
|
||||
}
|
||||
}
|
||||
|
|
@ -1,16 +0,0 @@
|
|||
using System.Collections.Generic;
|
||||
|
||||
namespace Microsoft.Net.Runtime
|
||||
{
|
||||
[AssemblyNeutral]
|
||||
public interface ILibraryManager
|
||||
{
|
||||
ILibraryExport GetLibraryExport(string name);
|
||||
|
||||
IEnumerable<ILibraryInformation> GetReferencingLibraries(string name);
|
||||
|
||||
ILibraryInformation GetLibraryInformation(string name);
|
||||
|
||||
IEnumerable<ILibraryInformation> GetLibraries();
|
||||
}
|
||||
}
|
||||
|
|
@ -1,9 +0,0 @@
|
|||
|
||||
namespace Microsoft.Net.Runtime
|
||||
{
|
||||
[AssemblyNeutral]
|
||||
public interface IMetadataReference
|
||||
{
|
||||
string Name { get; }
|
||||
}
|
||||
}
|
||||
|
|
@ -1,7 +0,0 @@
|
|||
namespace Microsoft.Net.Runtime
|
||||
{
|
||||
[AssemblyNeutral]
|
||||
public interface ISourceReference
|
||||
{
|
||||
}
|
||||
}
|
||||
Loading…
Reference in New Issue