csharp

package
v0.6.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 23, 2024 License: AGPL-3.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

View Source
const TestCodeHelloWorld = `class Hello {         
	static void Main(string[] args)
	{
		System.Console.WriteLine("Hello world");
	}
}`

Variables

This section is empty.

Functions

This section is empty.

Types

type CSharp

type CSharp struct{}

func (CSharp) Compile

func (CSharp) Compile(ctx context.Context, s sandbox.Sandbox, f sandbox.File, stderr io.Writer, extras []sandbox.File) (*sandbox.File, error)

func (CSharp) DefaultFilename

func (CSharp) DefaultFilename() string

func (CSharp) DisplayName

func (CSharp) DisplayName() string

func (CSharp) ID

func (CSharp) ID() string

func (CSharp) Run

func (CSharp) Run(ctx context.Context, s sandbox.Sandbox, binary sandbox.File, stdin io.Reader, stdout io.Writer, tl time.Duration, ml memory.Amount) (*sandbox.Status, error)

func (CSharp) Test

func (c CSharp) Test(t *testing.T, s sandbox.Sandbox) error

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL