Search Results for

    Show / Hide Table of Contents

    Class ForEachBlock

    'For each' block

    Inheritance
    Object
    StatementBlock
    ForEachBlock
    Implements
    IDisposable
    HasRange
    Inherited Members
    StatementBlock.CloseBlock()
    StatementBlock.Dispose()
    Object.Equals(Object)
    Object.Equals(Object, Object)
    Object.GetHashCode()
    Object.GetType()
    Object.MemberwiseClone()
    Object.ReferenceEquals(Object, Object)
    Namespace: Microsoft.ML.Probabilistic.Models
    Assembly: Microsoft.ML.Probabilistic.Compiler.dll
    Syntax
    public class ForEachBlock : StatementBlock, IDisposable, IStatementBlock, HasRange

    Constructors

    ForEachBlock(Range)

    Constructs 'for each' block from a range

    Declaration
    public ForEachBlock(Range range)
    Parameters
    Type Name Description
    Range range

    The range

    Fields

    range

    Range associated with the 'for each' block

    Declaration
    protected Range range
    Field Value
    Type Description
    Range

    Properties

    Index

    The index variable associated with the range

    Declaration
    public Variable<int> Index { get; }
    Property Value
    Type Description
    Variable<Int32>

    Range

    Range associated with the 'for each' block

    Declaration
    public Range Range { get; }
    Property Value
    Type Description
    Range

    Methods

    ToString()

    ToString override

    Declaration
    public override string ToString()
    Returns
    Type Description
    String
    Overrides
    Object.ToString()

    Implements

    System.IDisposable
    HasRange
    In This Article
    Back to top Copyright © .NET Foundation. All rights reserved.