StructuredTrace MembersCleanCode C# Libraries v1.2.03 API

The StructuredTrace type exposes the following members.
Constructors

  NameDescription
Public methodStructuredTrace(Boolean)
Initializes a new instance of the StructuredTrace class.
Public methodStructuredTrace(BooleanSwitch)
Initializes a new instance of the StructuredTrace class.
Public methodStructuredTrace(BooleanSwitch, String)
Initializes a new instance of the StructuredTrace class.
Back to Top
Methods

  NameDescription
Public methodBracket
Brackets the specified value with a hyphen on either side.
Public methodEnter
Traces entering the specified method name, and increases the indentation.
Public methodEnterEventHandler
Traces entering an event handler for a specific GUI component, and increases the indentation.
Public methodOnlineEquals
Determines whether the specified OnlineObject is equal to the current OnlineObject.
(Inherited from OnlineObject.)
Protected methodOnlineFinalize
Allows an OnlineObject to attempt to free resources and perform other cleanup operations before the OnlineObject is reclaimed by garbage collection.
(Inherited from OnlineObject.)
Public methodOnlineGetHashCode
Serves as a hash function for a particular type.
(Inherited from OnlineObject.)
Public methodOnlineGetType
Gets the OnlineType of the current instance.
(Inherited from OnlineObject.)
Public methodLeave
Traces leaving the specified method name, and decreases the indentation.
Public methodLeaveEventHandler
Traces leaving an event handler for a specific GUI component, and decreases the indentation.
Protected methodOnlineMemberwiseClone
Creates a shallow copy of the current OnlineObject.
(Inherited from OnlineObject.)
Public methodStart
Record the start of an application with a distinctive line in the log file, consisting of a repeated sequence of SessionMarkerChar characters.
Public methodOnlineToString
Returns a OnlineString that represents the current OnlineObject.
(Inherited from OnlineObject.)
Public methodWriteLine
Writes the line (if messages are enabled), preceded with the thread name and the current date/time.
Back to Top
Properties

  NameDescription
Public propertyStatic memberBracketBarSize
Gets or sets the size of the bracket bar used by the Bracket(String) method.
Public propertyStatic memberClassNameLength
Gets or sets the length of the class name.
Public propertyStatic memberEnterLabel
Public propertyStatic memberEventLabel
Gets or sets the event handler label.
Public propertyStatic memberIndentSize
Gets or sets the size of the indent used to show method nesting.
Public propertyStatic memberLeaveLabel
Public propertyStatic memberSessionMarkerChar
Gets or sets the session marker char used by the Start  method.
Public propertyStatic memberSessionMarkerLength
Gets or sets the length of the session marker used by the Start  method.
Public propertyStatic memberThreadNameLength
Gets or sets the length of the thread name.
Back to Top
See Also