File tree Expand file tree Collapse file tree 3 files changed +9
-10
lines changed
Expand file tree Collapse file tree 3 files changed +9
-10
lines changed Original file line number Diff line number Diff line change @@ -6,13 +6,13 @@ namespace LinkDotNet.Blog.Web.RegistrationExtensions;
66
77public static class RegistrationHelper
88{
9- public static void AssertNotAlreadyRegistered ( this IServiceCollection services , Type typeTocCheck )
9+ public static void AssertNotAlreadyRegistered ( this IServiceCollection services , Type typeToCheck )
1010 {
11- var repoExists = services . Any ( s => s . ServiceType == typeTocCheck ) ;
11+ var repoExists = services . Any ( s => s . ServiceType == typeToCheck ) ;
1212 if ( repoExists )
1313 {
1414 throw new NotSupportedException (
15- $ "Can't have multiple implementations registered of type { nameof ( typeTocCheck ) } ") ;
15+ $ "Can't have multiple implementations registered of type { nameof ( typeToCheck ) } ") ;
1616 }
1717 }
1818}
Original file line number Diff line number Diff line change 1- @using System .ComponentModel .DataAnnotations
2- <div class =" modal @modalClass" tabindex =" -1" role =" dialog" style =" display :@modalDisplay; overflow-y : auto ;" >
1+ <div class =" modal @modalClass" tabindex =" -1" role =" dialog" style =" display :@modalDisplay; overflow-y : auto ;" >
32 <div class =" modal-dialog modal-lg" role =" document" >
43 <div class =" modal-content" >
54 <div class =" modal-header" >
Original file line number Diff line number Diff line change 11namespace LinkDotNet . Blog . Web . Shared . Services ;
22
3- public class GiscusConfiguration
3+ public record GiscusConfiguration
44{
5- public string Repository { get ; set ; }
5+ public string Repository { get ; init ; }
66
7- public string RepositoryId { get ; set ; }
7+ public string RepositoryId { get ; init ; }
88
9- public string Category { get ; set ; }
9+ public string Category { get ; init ; }
1010
11- public string CategoryId { get ; set ; }
11+ public string CategoryId { get ; init ; }
1212}
You can’t perform that action at this time.
0 commit comments