Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/dotnet/aspnetcore.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPranav K <prkrishn@hotmail.com>2021-11-06 03:52:08 +0300
committerGitHub <noreply@github.com>2021-11-06 03:52:08 +0300
commita450cb69b5e4549f5515cdb057a68771f56cefd7 (patch)
treeb31cc4cd3257b8aeec14a5481121dac6964195a6 /src/Http/Http.Results/test/TestLinkGenerator.cs
parentb9fcd82fe9d0883e9828864a8e8b2231f469254f (diff)
Use file scoped namespaces (#38076)
* Use file scoped namespaces
Diffstat (limited to 'src/Http/Http.Results/test/TestLinkGenerator.cs')
-rw-r--r--src/Http/Http.Results/test/TestLinkGenerator.cs33
1 files changed, 16 insertions, 17 deletions
diff --git a/src/Http/Http.Results/test/TestLinkGenerator.cs b/src/Http/Http.Results/test/TestLinkGenerator.cs
index ec026e13a7..8f8d9e0167 100644
--- a/src/Http/Http.Results/test/TestLinkGenerator.cs
+++ b/src/Http/Http.Results/test/TestLinkGenerator.cs
@@ -4,26 +4,25 @@
using System;
using Microsoft.AspNetCore.Routing;
-namespace Microsoft.AspNetCore.Http.Result
+namespace Microsoft.AspNetCore.Http.Result;
+
+internal sealed class TestLinkGenerator : LinkGenerator
{
- internal sealed class TestLinkGenerator : LinkGenerator
- {
- public string Url { get; set; }
+ public string Url { get; set; }
- public override string GetPathByAddress<TAddress>(HttpContext httpContext, TAddress address, RouteValueDictionary values, RouteValueDictionary ambientValues = null, PathString? pathBase = null, FragmentString fragment = default, LinkOptions options = null)
- {
- throw new NotImplementedException();
- }
+ public override string GetPathByAddress<TAddress>(HttpContext httpContext, TAddress address, RouteValueDictionary values, RouteValueDictionary ambientValues = null, PathString? pathBase = null, FragmentString fragment = default, LinkOptions options = null)
+ {
+ throw new NotImplementedException();
+ }
- public override string GetPathByAddress<TAddress>(TAddress address, RouteValueDictionary values, PathString pathBase = default, FragmentString fragment = default, LinkOptions options = null)
- {
- throw new NotImplementedException();
- }
+ public override string GetPathByAddress<TAddress>(TAddress address, RouteValueDictionary values, PathString pathBase = default, FragmentString fragment = default, LinkOptions options = null)
+ {
+ throw new NotImplementedException();
+ }
- public override string GetUriByAddress<TAddress>(HttpContext httpContext, TAddress address, RouteValueDictionary values, RouteValueDictionary ambientValues = null, string scheme = null, HostString? host = null, PathString? pathBase = null, FragmentString fragment = default, LinkOptions options = null)
- => Url;
+ public override string GetUriByAddress<TAddress>(HttpContext httpContext, TAddress address, RouteValueDictionary values, RouteValueDictionary ambientValues = null, string scheme = null, HostString? host = null, PathString? pathBase = null, FragmentString fragment = default, LinkOptions options = null)
+ => Url;
- public override string GetUriByAddress<TAddress>(TAddress address, RouteValueDictionary values, string scheme, HostString host, PathString pathBase = default, FragmentString fragment = default, LinkOptions options = null)
- => Url;
- }
+ public override string GetUriByAddress<TAddress>(TAddress address, RouteValueDictionary values, string scheme, HostString host, PathString pathBase = default, FragmentString fragment = default, LinkOptions options = null)
+ => Url;
}