Table of Contents

Class ProxyDemo.User

Namespace
PatternKit.Examples.ProxyDemo
Assembly
PatternKit.Examples.dll

Represents a user with a name and role for access control demonstrations.

public sealed record ProxyDemo.User : IEquatable<ProxyDemo.User>
Inheritance
ProxyDemo.User
Implements
Inherited Members
Extension Methods

Constructors

User(string, string)

Represents a user with a name and role for access control demonstrations.

public User(string Name, string Role)

Parameters

Name string

The user's name.

Role string

The user's role (e.g., "Admin", "User").

Properties

Name

The user's name.

public string Name { get; init; }

Property Value

string

Role

The user's role (e.g., "Admin", "User").

public string Role { get; init; }

Property Value

string