Search Results for

    Show / Hide Table of Contents

    Class TransformResults

    Describes the results of a transformation, including errors and warnings encountered.

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

    Fields

    errorMap

    Declaration
    protected Dictionary<object, List<TransformError>> errorMap
    Field Value
    Type Description
    Dictionary<Object, List<TransformError>>

    Transform

    Declaration
    public ICodeTransform Transform
    Field Value
    Type Description
    ICodeTransform

    Properties

    ErrorCount

    Declaration
    public int ErrorCount { get; }
    Property Value
    Type Description
    Int32

    ErrorsAndWarnings

    Declaration
    public IReadOnlyList<TransformError> ErrorsAndWarnings { get; }
    Property Value
    Type Description
    IReadOnlyList<TransformError>

    IsSuccess

    Declaration
    public bool IsSuccess { get; }
    Property Value
    Type Description
    Boolean

    WarningCount

    Declaration
    public int WarningCount { get; }
    Property Value
    Type Description
    Int32

    Methods

    GetErrorsForElement(Object)

    Declaration
    public List<TransformError> GetErrorsForElement(object inputElement)
    Parameters
    Type Name Description
    Object inputElement
    Returns
    Type Description
    List<TransformError>

    IsErrors()

    Declaration
    public bool IsErrors()
    Returns
    Type Description
    Boolean

    ThrowIfErrors(String)

    Declaration
    public void ThrowIfErrors(string msg)
    Parameters
    Type Name Description
    String msg

    ThrowIfErrors(String, Boolean)

    Declaration
    public void ThrowIfErrors(string msg, bool treatWarningsAsErrors)
    Parameters
    Type Name Description
    String msg
    Boolean treatWarningsAsErrors

    ToString()

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

    TransformError(String, Boolean, Exception, Object, Object)

    Declaration
    protected void TransformError(string msg, bool isWarning, Exception exception, object inputElement, object displayTag)
    Parameters
    Type Name Description
    String msg
    Boolean isWarning
    Exception exception
    Object inputElement
    Object displayTag
    In This Article
    Back to top Copyright © .NET Foundation. All rights reserved.