Search Results for

    Show / Hide Table of Contents

    Class RepeatBlock

    'Repeat' block

    Inheritance
    Object
    StatementBlock
    RepeatBlock
    Implements
    IDisposable
    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 RepeatBlock : StatementBlock, IDisposable, IStatementBlock

    Constructors

    RepeatBlock(Variable<Double>)

    Constructs 'for each' block from a range

    Declaration
    public RepeatBlock(Variable<double> count)
    Parameters
    Type Name Description
    Variable<Double> count

    Properties

    Count

    The variable that indicates the (possibly fractional) number of repeats.

    Declaration
    public Variable<double> Count { get; }
    Property Value
    Type Description
    Variable<Double>

    Methods

    ToString()

    ToString override

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

    Implements

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