Skip to content

Commit

Permalink
Misc
Browse files Browse the repository at this point in the history
  • Loading branch information
JustArchi committed Dec 25, 2024
1 parent 89bea12 commit b5039d6
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions ArchiSteamFarm/Plugins/Interfaces/IPlugin.cs
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,13 @@ namespace ArchiSteamFarm.Plugins.Interfaces;
/// </summary>
[PublicAPI]
public interface IPlugin {

Check warning on line 36 in ArchiSteamFarm/Plugins/Interfaces/IPlugin.cs

View workflow job for this annotation

GitHub Actions / Qodana for .NET

RoslynAnalyzers Consider making public types internal

Because an application's API isn't typically referenced from outside the assembly, types can be made internal
/// <summary>
/// Helper property which determines whether the plugin is official, mostly for IPC.
/// </summary>
[JsonInclude]
[Required]
public sealed bool IsOfficialPlugin => this is OfficialPlugin;

/// <summary>
/// ASF will use this property as general plugin identifier for the user.
/// </summary>
Expand Down

0 comments on commit b5039d6

Please sign in to comment.