ForBlockclass

Run a block of code a certain number of times, with a loop variable.

objectBlockForBlock
Namespace
global
Assembly
Sandbox.Engine
Declaration
public class Sandbox.Doo.ForBlock : Sandbox.Doo.Block

Constructors1

Showing 1 constructors

Methods4

Showing 4 methods

public virtual void CollectArguments(System.Collections.Generic.HashSet`1<string> arguments)PUBLICVIRTUAL

ParameterTypeDescription
argumentsHashSet<string>
Returns:void

public virtual string GetNodeString()PUBLICVIRTUAL

Returns:string

public virtual bool HasBody()PUBLICVIRTUAL

Returns:bool

public virtual void Reset()PUBLICVIRTUAL

Returns:void

Properties4

Showing 4 properties

public string Sandbox.Doo.ForBlock.VariableName { get; set; }PUBLICGETSET

The name of the loop counter variable.

Returns:string

On this page