Search Results for

    Show / Hide Table of Contents

    Class Tracing

    Inheritance
    Object
    Tracing
    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.Factors
    Assembly: Microsoft.ML.Probabilistic.dll
    Syntax
    public static class Tracing

    Methods

    FireEvent<T>(T, String, Action<MessageUpdatedEventArgs>, Boolean)

    Used in generated code to fire an event when a message is updated (and optionally writes a trace as well).

    Declaration
    public static T FireEvent<T>(T input, string text, Action<MessageUpdatedEventArgs> onMessageUpdated, bool doTraceAsWell)
    Parameters
    Type Name Description
    T input
    String text
    Action<MessageUpdatedEventArgs> onMessageUpdated
    Boolean doTraceAsWell
    Returns
    Type Description
    T
    Type Parameters
    Name Description
    T

    Trace<T>(T, String)

    Used in generated code to write a value with descriptive text

    Declaration
    public static T Trace<T>(T input, string text)
    Parameters
    Type Name Description
    T input
    String text
    Returns
    Type Description
    T

    input

    Type Parameters
    Name Description
    T
    In This Article
    Back to top Copyright © .NET Foundation. All rights reserved.