Class TraceBeforeEventArgs
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 SourceTraceBeforeEventArgs(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 |
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 SourceIdentifier
标识符,可将 TraceBeforeEventArgs 与 TraceAfterEventArgs 进行匹配
Declaration
public Guid Identifier { get; protected set; }
Property Value
Type | Description |
---|---|
System.Guid |
Operation
Declaration
public string Operation { get; }
Property Value
Type | Description |
---|---|
System.String |
States
状态数据,可与 TraceAfter 共享
Declaration
public Dictionary<string, object> States { get; protected set; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.Dictionary<System.String, System.Object> |
Stopwatch
Declaration
protected Stopwatch Stopwatch { get; }
Property Value
Type | Description |
---|---|
System.Diagnostics.Stopwatch |
Value
Declaration
public object Value { get; }
Property Value
Type | Description |
---|---|
System.Object |