CodeBlock(String, String) Constructor

Represents a block of code with its corresponding programming language and line number information.

Definition

Namespace: GenerativeAI.Core
Assembly: GenerativeAI (in GenerativeAI.dll) Version: 2.0.2+aa51399cad6d90cc71158d589a6268608b3c1893
C#
public CodeBlock(
	string language,
	string code
)

Parameters

language  String

[Missing <param name="language"/> documentation for "M:GenerativeAI.Core.CodeBlock.#ctor(System.String,System.String)"]

code  String

[Missing <param name="code"/> documentation for "M:GenerativeAI.Core.CodeBlock.#ctor(System.String,System.String)"]

See Also