Table of Contents

Class CodeRefactoringRequest

Namespace
AiDotNet.ProgramSynthesis.Requests
Assembly
AiDotNet.dll

Request for refactoring code without changing behavior.

public sealed class CodeRefactoringRequest : CodeTaskRequestBase
Inheritance
CodeRefactoringRequest
Inherited Members

Properties

Code

public string Code { get; set; }

Property Value

string

Goal

Optional high-level refactoring goal (e.g., "extract method", "simplify loops").

public string? Goal { get; set; }

Property Value

string

Task

Gets the requested task.

public override CodeTask Task { get; }

Property Value

CodeTask