-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
7a8c8bd
commit 0997c13
Showing
221 changed files
with
5,443 additions
and
286 deletions.
There are no files selected for viewing
This file contains 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
Empty file.
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
### New Rules | ||
|
||
Rule ID | Category | Severity | Notes | ||
--------|----------|----------|------- | ||
FLUSS0001 | Fluss.Regen | Error | CrudInspector | ||
FLUSS0002 | Fluss.Regen | Error | CrudInspector | ||
FLUSS0003 | Fluss.Regen | Error | CrudInspector | ||
FLUSS0004 | Fluss.Regen | Error | CrudInspector | ||
FLUSS0005 | Fluss.Regen | Error | CrudInspector | ||
FLUSS0006 | Fluss.Regen | Error | CrudInspector | ||
FLUSS0007 | Fluss.Regen | Error | CrudInspector | ||
FLUSS0008 | Fluss.Regen | Error | CrudInspector |
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
namespace Fluss.Regen.Attributes; | ||
|
||
public sealed class CrudAttribute : IRegenAttribute | ||
{ | ||
private const string Namespace = "Fluss.Regen"; | ||
private const string AttributeName = "CrudAttribute"; | ||
|
||
public static string FullName => $"{Namespace}.{AttributeName}"; | ||
|
||
public string FileName => $"{AttributeName}.g.cs"; | ||
public string SourceCode => $$""" | ||
namespace {{Namespace}} | ||
{ | ||
[global::System.AttributeUsage(global::System.AttributeTargets.Class)] | ||
public class {{AttributeName}} : System.Attribute | ||
{ | ||
} | ||
} | ||
"""; | ||
} |
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,6 +2,5 @@ | |
|
||
public interface IRegenAttribute | ||
{ | ||
string FileName { get; } | ||
string SourceCode { get; } | ||
} |
This file contains 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
Oops, something went wrong.