Remove unused types
This commit is contained in:
parent
b39e9b0a75
commit
5b59c687eb
|
|
@ -33,7 +33,7 @@ namespace Microsoft.AspNetCore.Blazor.DevServer.Server
|
||||||
options.MimeTypes = ResponseCompressionDefaults.MimeTypes.Concat(new[]
|
options.MimeTypes = ResponseCompressionDefaults.MimeTypes.Concat(new[]
|
||||||
{
|
{
|
||||||
MediaTypeNames.Application.Octet,
|
MediaTypeNames.Application.Octet,
|
||||||
WasmMediaTypeNames.Application.Wasm
|
"application/wasm",
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -52,13 +52,6 @@ namespace Microsoft.AspNetCore.Components.Server
|
||||||
{
|
{
|
||||||
System.Threading.Tasks.Task<Microsoft.AspNetCore.Components.Server.ComponentPrerenderResult> PrerenderComponentAsync(Microsoft.AspNetCore.Components.Server.ComponentPrerenderingContext context);
|
System.Threading.Tasks.Task<Microsoft.AspNetCore.Components.Server.ComponentPrerenderResult> PrerenderComponentAsync(Microsoft.AspNetCore.Components.Server.ComponentPrerenderingContext context);
|
||||||
}
|
}
|
||||||
public static partial class WasmMediaTypeNames
|
|
||||||
{
|
|
||||||
public static partial class Application
|
|
||||||
{
|
|
||||||
public const string Wasm = "application/wasm";
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
namespace Microsoft.AspNetCore.Components.Server.Circuits
|
namespace Microsoft.AspNetCore.Components.Server.Circuits
|
||||||
{
|
{
|
||||||
|
|
|
||||||
|
|
@ -1,22 +0,0 @@
|
||||||
// Copyright (c) .NET Foundation. All rights reserved.
|
|
||||||
// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
|
|
||||||
|
|
||||||
namespace Microsoft.AspNetCore.Components.Server
|
|
||||||
{
|
|
||||||
/// <summary>
|
|
||||||
/// Contains values for WASM-related media types.
|
|
||||||
/// </summary>
|
|
||||||
public static class WasmMediaTypeNames
|
|
||||||
{
|
|
||||||
/// <summary>
|
|
||||||
/// Contains values for WASM-related media types within the "application." namespace
|
|
||||||
/// </summary>
|
|
||||||
public static class Application
|
|
||||||
{
|
|
||||||
/// <summary>
|
|
||||||
/// The standard media type name for WebAssembly binary files.
|
|
||||||
/// </summary>
|
|
||||||
public const string Wasm = "application/wasm";
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
Loading…
Reference in New Issue