Class Quoter
Provides static methods for quoting objects into instances of the code model.
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
QuoteDictionary(IDictionary)
Declaration
public static IExpression QuoteDictionary(IDictionary dictionary)
Parameters
Returns
QuoteEstimator(Object)
Declaration
public static IExpression QuoteEstimator(object value)
Parameters
Type |
Name |
Description |
Object |
value |
|
Returns
QuoteItems<T>(ICollection<T>)
Declaration
public static IExpression[] QuoteItems<T>(ICollection<T> list)
Parameters
Returns
Type Parameters
QuoteList(IList)
Declaration
public static IExpression QuoteList(IList list)
Parameters
Type |
Name |
Description |
IList |
list |
|
Returns