Signatureclass

A permitted method overload and the ranges of its parameters in the display text.

object→Signature
Namespace
global
Assembly
Sandbox.Engine
Declaration
public sealed class Sandbox.Script.Signature

Constructors1

Showing 1 constructors

public Signature(string Text, System.Collections.Generic.IReadOnlyList`1<Sandbox.Script.SourceSpan> Parameters, bool IsVariadic = False)PUBLICCONSTRUCTOR

ParameterTypeDescription
Textstring—
ParametersIReadOnlyList<SourceSpan>—
IsVariadic = Falsebool—

Methods2

Showing 2 methods

public void Deconstruct(string Text, System.Collections.Generic.IReadOnlyList`1<Sandbox.Script.SourceSpan> Parameters, bool IsVariadic)PUBLIC

ParameterTypeDescription
Textstring—
ParametersIReadOnlyList<SourceSpan>—
IsVariadicbool—
Returns:void—

Properties3

Showing 3 properties

public bool Sandbox.Script.Signature.IsVariadic { get; set; }PUBLICGETSET

Returns:bool—

public string Sandbox.Script.Signature.Text { get; set; }PUBLICGETSET

Returns:string—

On this page