Class ScopeDefinition
Defines a scope with its default minimum access level and an optional human-readable description (shown as a tooltip in the scope picker).
public record ScopeDefinition : IEquatable<ScopeDefinition>
- Inheritance
-
ScopeDefinition
- Implements
- Inherited Members
Constructors
ScopeDefinition(string, AccessLevel, string)
Defines a scope with its default minimum access level and an optional human-readable description (shown as a tooltip in the scope picker).
public ScopeDefinition(string Name, AccessLevel DefaultMinimumLevel, string Description = null)
Parameters
NamestringDefaultMinimumLevelAccessLevelDescriptionstring
Properties
DefaultMinimumLevel
public AccessLevel DefaultMinimumLevel { get; init; }
Property Value
Description
public string Description { get; init; }
Property Value
Name
public string Name { get; init; }