This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public static class MapUseExtensions | |
{ | |
public static IApplicationBuilder MapUse(this IApplicationBuilder app, PathString pathMatch, Action<IApplicationBuilder> configuration) | |
{ | |
if (pathMatch.HasValue && pathMatch.Value.EndsWith("/", StringComparison.Ordinal)) | |
{ | |
throw new ArgumentException("The path must not end with a '/'", nameof(pathMatch)); | |
} | |
// create branch |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public class ProxyMethodEmitterTest | |
{ | |
public class TargetClass | |
{ | |
public void TargetMethod(string name, int age) | |
{ | |
Name = name; | |
Age = age; | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
:root { | |
--alt-color: #111; | |
--main-color: #000; | |
--status-bar-background-color: #222; | |
--status-bar-font-color: #333; | |
} |
OlderNewer