Class ProxyDemo.Document
- Namespace
- PatternKit.Examples.ProxyDemo
- Assembly
- PatternKit.Examples.dll
Represents a document with title, content, and access level restrictions.
public sealed record ProxyDemo.Document : IEquatable<ProxyDemo.Document>
- Inheritance
-
ProxyDemo.Document
- Implements
- Inherited Members
- Extension Methods
Constructors
Document(string, string, string)
Represents a document with title, content, and access level restrictions.
public Document(string Title, string Content, string AccessLevel)
Parameters
TitlestringThe document title.
ContentstringThe document content.
AccessLevelstringThe required access level (e.g., "Public", "Admin").
Properties
AccessLevel
The required access level (e.g., "Public", "Admin").
public string AccessLevel { get; init; }
Property Value
Content
The document content.
public string Content { get; init; }
Property Value
Title
The document title.
public string Title { get; init; }