mirror of
https://github.com/TeamOctolings/Octobot.git
synced 2025-04-20 00:43:36 +03:00
8 lines
413 B
C#
8 lines
413 B
C#
namespace TeamOctolings.Octobot.Attributes;
|
|
|
|
/// <summary>
|
|
/// Any property marked with <see cref="StaticCallersOnlyAttribute"/> should only be accessed by static methods.
|
|
/// Such properties may be used to provide dependencies where it is not possible to acquire them through normal means.
|
|
/// </summary>
|
|
[AttributeUsage(AttributeTargets.Property)]
|
|
public sealed class StaticCallersOnlyAttribute : Attribute;
|