Table of Contents

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

Title string

The document title.

Content string

The document content.

AccessLevel string

The required access level (e.g., "Public", "Admin").

Properties

AccessLevel

The required access level (e.g., "Public", "Admin").

public string AccessLevel { get; init; }

Property Value

string

Content

The document content.

public string Content { get; init; }

Property Value

string

Title

The document title.

public string Title { get; init; }

Property Value

string