Remove unused types

This commit is contained in:
Ryan Nowak 2019-07-16 16:34:26 -07:00 committed by Ryan Nowak
parent b39e9b0a75
commit 5b59c687eb
3 changed files with 1 additions and 30 deletions

View File

@ -33,7 +33,7 @@ namespace Microsoft.AspNetCore.Blazor.DevServer.Server
options.MimeTypes = ResponseCompressionDefaults.MimeTypes.Concat(new[]
{
MediaTypeNames.Application.Octet,
WasmMediaTypeNames.Application.Wasm
"application/wasm",
});
});
}

View File

@ -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);
}
public static partial class WasmMediaTypeNames
{
public static partial class Application
{
public const string Wasm = "application/wasm";
}
}
}
namespace Microsoft.AspNetCore.Components.Server.Circuits
{

View File

@ -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";
}
}
}