Search Results for

    Show / Hide Table of Contents

    Class Quoter

    Provides static methods for quoting objects into instances of the code model.

    Inheritance
    Object
    Quoter
    Inherited Members
    Object.Equals(Object)
    Object.Equals(Object, Object)
    Object.GetHashCode()
    Object.GetType()
    Object.MemberwiseClone()
    Object.ReferenceEquals(Object, Object)
    Object.ToString()
    Namespace: Microsoft.ML.Probabilistic.Compiler
    Assembly: Microsoft.ML.Probabilistic.Compiler.dll
    Syntax
    public static class Quoter

    Methods

    Quote(Object)

    Quotes the object and returns the quoted expression.

    Declaration
    public static IExpression Quote(object value)
    Parameters
    Type Name Description
    Object value

    The object to quote

    Returns
    Type Description
    IExpression

    An expression which would evaluate to the supplied value.

    QuoteArray(Array)

    Declaration
    public static IExpression QuoteArray(Array array)
    Parameters
    Type Name Description
    Array array
    Returns
    Type Description
    IExpression

    QuoteDictionary(IDictionary)

    Declaration
    public static IExpression QuoteDictionary(IDictionary dictionary)
    Parameters
    Type Name Description
    IDictionary dictionary
    Returns
    Type Description
    IExpression

    QuoteEstimator(Object)

    Declaration
    public static IExpression QuoteEstimator(object value)
    Parameters
    Type Name Description
    Object value
    Returns
    Type Description
    IExpression

    QuoteItems<T>(ICollection<T>)

    Declaration
    public static IExpression[] QuoteItems<T>(ICollection<T> list)
    Parameters
    Type Name Description
    ICollection<T> list
    Returns
    Type Description
    IExpression[]
    Type Parameters
    Name Description
    T

    QuoteList(IList)

    Declaration
    public static IExpression QuoteList(IList list)
    Parameters
    Type Name Description
    IList list
    Returns
    Type Description
    IExpression
    In This Article
    Back to top Copyright © .NET Foundation. All rights reserved.