Search Results for

    Show / Hide Table of Contents

    Class TraceBeforeEventArgs

    Inheritance
    System.Object
    System.EventArgs
    TraceBeforeEventArgs
    TraceAfterEventArgs
    Inherited Members
    System.EventArgs.Empty
    System.Object.Equals(System.Object)
    System.Object.Equals(System.Object, System.Object)
    System.Object.GetHashCode()
    System.Object.GetType()
    System.Object.MemberwiseClone()
    System.Object.ReferenceEquals(System.Object, System.Object)
    System.Object.ToString()
    Namespace: FreeSql.Aop
    Assembly: FreeSql.dll
    Syntax
    public class TraceBeforeEventArgs : EventArgs

    Constructors

    | Improve this Doc View Source

    TraceBeforeEventArgs(Guid, Stopwatch, String, Object, Dictionary<String, Object>)

    Declaration
    protected TraceBeforeEventArgs(Guid identifier, Stopwatch stopwatch, string operation, object value, Dictionary<string, object> states)
    Parameters
    Type Name Description
    System.Guid identifier
    System.Diagnostics.Stopwatch stopwatch
    System.String operation
    System.Object value
    System.Collections.Generic.Dictionary<System.String, System.Object> states
    | Improve this Doc View Source

    TraceBeforeEventArgs(String, Object)

    Declaration
    public TraceBeforeEventArgs(string operation, object value)
    Parameters
    Type Name Description
    System.String operation
    System.Object value

    Properties

    | Improve this Doc View Source

    Identifier

    标识符,可将 TraceBeforeEventArgs 与 TraceAfterEventArgs 进行匹配

    Declaration
    public Guid Identifier { get; protected set; }
    Property Value
    Type Description
    System.Guid
    | Improve this Doc View Source

    Operation

    Declaration
    public string Operation { get; }
    Property Value
    Type Description
    System.String
    | Improve this Doc View Source

    States

    状态数据,可与 TraceAfter 共享

    Declaration
    public Dictionary<string, object> States { get; protected set; }
    Property Value
    Type Description
    System.Collections.Generic.Dictionary<System.String, System.Object>
    | Improve this Doc View Source

    Stopwatch

    Declaration
    protected Stopwatch Stopwatch { get; }
    Property Value
    Type Description
    System.Diagnostics.Stopwatch
    | Improve this Doc View Source

    Value

    Declaration
    public object Value { get; }
    Property Value
    Type Description
    System.Object
    • Improve this Doc
    • View Source
    In This Article
    Back to top Generated by DocFX