Skip to content

WriteFileResult

NexusLabs.Needlr.AgentFramework

NexusLabs.Needlr.AgentFramework.Workspace

WriteFileResult Class

Result data for a successful TryWriteFile(string, string) call.

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

Inheritance System.Object 🡒 WriteFileResult

Implements System.IEquatable<WriteFileResult>

Constructors

WriteFileResult(string, long) Constructor

Result data for a successful TryWriteFile(string, string) call.

public WriteFileResult(string ActualPath, long CharsWritten);

Parameters

ActualPath System.String

The normalized path the file was written to.

CharsWritten System.Int64

Number of characters written.

Properties

WriteFileResult.ActualPath Property

The normalized path the file was written to.

public string ActualPath { get; init; }

Property Value

System.String

WriteFileResult.CharsWritten Property

Number of characters written.

public long CharsWritten { get; init; }

Property Value

System.Int64