Skip to content

Commit

Permalink
Merge pull request #16 from atc-net/feature/repo
Browse files Browse the repository at this point in the history
Adding Atc.Microsoft.Graph.Client repository
  • Loading branch information
perkops authored Jun 3, 2024
2 parents f6172eb + 2902551 commit 48fee70
Show file tree
Hide file tree
Showing 4 changed files with 27 additions and 3 deletions.
2 changes: 2 additions & 0 deletions src/AtcWeb.Domain/Data/RepositoryMetadata.cs
Original file line number Diff line number Diff line change
Expand Up @@ -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"),
Expand Down
15 changes: 12 additions & 3 deletions src/AtcWeb/.editorconfig
Original file line number Diff line number Diff line change
@@ -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

Expand All @@ -13,4 +13,13 @@ dotnet_diagnostic.MA0048.severity = none # To support code-behind [co

##########################################
# Custom - Code Analyzers Rules
##########################################
##########################################

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
4 changes: 4 additions & 0 deletions src/AtcWeb/Pages/Repository/AtcMicrosoftGraphClient.razor
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
@page "/repository/atc-microsoft-graph-client"
@inherits AtcMicrosoftGraphClientBase

<DocsPageRepository Repository="@repository" />
9 changes: 9 additions & 0 deletions src/AtcWeb/Pages/Repository/AtcMicrosoftGraphClient.razor.cs
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
namespace AtcWeb.Pages.Repository;

public class AtcMicrosoftGraphClientBase : RepositoryComponentBase
{
public AtcMicrosoftGraphClientBase()
: base("atc-microsoft-graph-client")
{
}
}

0 comments on commit 48fee70

Please sign in to comment.