diff --git a/src/AtcWeb.Domain/Data/RepositoryMetadata.cs b/src/AtcWeb.Domain/Data/RepositoryMetadata.cs index ccadc8c..b255469 100644 --- a/src/AtcWeb.Domain/Data/RepositoryMetadata.cs +++ b/src/AtcWeb.Domain/Data/RepositoryMetadata.cs @@ -47,6 +47,8 @@ public static class RepositoryMetadata Tuple.Create("atc-kepware", "perkops"), Tuple.Create("atc-logviewer", "davidkallesen"), Tuple.Create("atc-logviewer", "perkops"), + Tuple.Create("atc-microsoft-graph-client", "davidkallesen"), + Tuple.Create("atc-microsoft-graph-client", "perkops"), Tuple.Create("atc-opc-ua", "davidkallesen"), Tuple.Create("atc-opc-ua", "perkops"), Tuple.Create("atc-net.github.io", "davidkallesen"), diff --git a/src/AtcWeb/.editorconfig b/src/AtcWeb/.editorconfig index c96bba9..9165e9d 100644 --- a/src/AtcWeb/.editorconfig +++ b/src/AtcWeb/.editorconfig @@ -1,6 +1,6 @@ # ATC coding rules - https://github.com/atc-net/atc-coding-rules -# Version: 1.0.0 -# Updated: 27-03-2024 +# Version: 1.0.1 +# Updated: 03-06-2024 # Location: blazor # Distribution: Frameworks @@ -13,4 +13,13 @@ dotnet_diagnostic.MA0048.severity = none # To support code-behind [co ########################################## # Custom - Code Analyzers Rules -########################################## \ No newline at end of file +########################################## + +dotnet_diagnostic.BL0001.severity = error # Component parameter should have public setters - https://learn.microsoft.com/en-us/aspnet/core/diagnostics/bl0001?view=aspnetcore-8.0 +dotnet_diagnostic.BL0002.severity = error # Component has multiple CaptureUnmatchedValues parameters - https://learn.microsoft.com/en-us/aspnet/core/diagnostics/bl0002?view=aspnetcore-8.0 +dotnet_diagnostic.BL0003.severity = error # Component parameter with CaptureUnmatchedValues has the wrong type - https://learn.microsoft.com/en-us/aspnet/core/diagnostics/bl0003?view=aspnetcore-8.0 +dotnet_diagnostic.BL0004.severity = error # Component parameter should be public - https://learn.microsoft.com/en-us/aspnet/core/diagnostics/bl0004?view=aspnetcore-8.0 +dotnet_diagnostic.BL0005.severity = error # Component parameter should not be set outside of its component - https://learn.microsoft.com/en-us/aspnet/core/diagnostics/bl0005?view=aspnetcore-8.0 +dotnet_diagnostic.BL0006.severity = warning # Do not use RenderTree types - https://learn.microsoft.com/en-us/aspnet/core/diagnostics/bl0006?view=aspnetcore-8.0 + +dotnet_diagnostic.ASP0006.severity = suggestion # Do not use non-literal sequence numbers - https://learn.microsoft.com/en-us/aspnet/core/diagnostics/asp0006?view=aspnetcore-8.0 \ No newline at end of file diff --git a/src/AtcWeb/Pages/Repository/AtcMicrosoftGraphClient.razor b/src/AtcWeb/Pages/Repository/AtcMicrosoftGraphClient.razor new file mode 100644 index 0000000..848da3b --- /dev/null +++ b/src/AtcWeb/Pages/Repository/AtcMicrosoftGraphClient.razor @@ -0,0 +1,4 @@ +@page "/repository/atc-microsoft-graph-client" +@inherits AtcMicrosoftGraphClientBase + + \ No newline at end of file diff --git a/src/AtcWeb/Pages/Repository/AtcMicrosoftGraphClient.razor.cs b/src/AtcWeb/Pages/Repository/AtcMicrosoftGraphClient.razor.cs new file mode 100644 index 0000000..232babe --- /dev/null +++ b/src/AtcWeb/Pages/Repository/AtcMicrosoftGraphClient.razor.cs @@ -0,0 +1,9 @@ +namespace AtcWeb.Pages.Repository; + +public class AtcMicrosoftGraphClientBase : RepositoryComponentBase +{ + public AtcMicrosoftGraphClientBase() + : base("atc-microsoft-graph-client") + { + } +} \ No newline at end of file