Skip to content

ReadFileResult

NexusLabs.Needlr.AgentFramework

NexusLabs.Needlr.AgentFramework.Workspace

ReadFileResult Class

Result data for a successful TryReadFile(string) call.

public sealed record ReadFileResult : System.IEquatable<NexusLabs.Needlr.AgentFramework.Workspace.ReadFileResult>

Inheritance System.Object 🡒 ReadFileResult

Implements System.IEquatable<ReadFileResult>

Constructors

ReadFileResult(string, string) Constructor

Result data for a successful TryReadFile(string) call.

public ReadFileResult(string ActualPath, string Content);

Parameters

ActualPath System.String

The normalized path the file was read from.

Content System.String

The file content.

Properties

ReadFileResult.ActualPath Property

The normalized path the file was read from.

public string ActualPath { get; init; }

Property Value

System.String

ReadFileResult.Content Property

The file content.

public string Content { get; init; }

Property Value

System.String