In This Topic
The following tables list the members exposed by GTrace.
Public Constructors
Public Properties
| Name | Description |
| AspectPriority | Gets or sets the weaving priority of the aspect. (Inherited from PostSharp.Aspects.Aspect) |
| AttributeExclude | If true, indicates that this attribute removes all other instances of the same attribute type from the set of elements defined by the current instance. (Inherited from PostSharp.Extensibility.MulticastAttribute) |
| AttributeId | (Inherited from PostSharp.Extensibility.MulticastAttribute) |
| AttributeInheritance | Determines whether this attribute is inherited (Inherited from PostSharp.Extensibility.MulticastAttribute) |
| AttributePriority | Gets or sets the priority of the current attribute in case that multiple instances are defined on the same element (lower values are processed before). (Inherited from PostSharp.Extensibility.MulticastAttribute) |
| AttributeReplace | Determines whether this attribute replaces other attributes found on the target declarations. (Inherited from PostSharp.Extensibility.MulticastAttribute) |
| AttributeTargetAssemblies | Gets or sets the assemblies to which the current attribute apply. (Inherited from PostSharp.Extensibility.MulticastAttribute) |
| AttributeTargetElements | Gets or sets the kind of elements to which this custom attributes applies. (Inherited from PostSharp.Extensibility.MulticastAttribute) |
| AttributeTargetExternalMemberAttributes | Gets or sets the visibilities, scopes, virtualities, and implementation of members to which this attribute applies, when the member is external to the current module. (Inherited from PostSharp.Extensibility.MulticastAttribute) |
| AttributeTargetExternalTypeAttributes | Gets or sets the visibilities of types to which this attribute applies, when this type is external to the current module. (Inherited from PostSharp.Extensibility.MulticastAttribute) |
| AttributeTargetMemberAttributes | Gets or sets the visibilities, scopes, virtualities, and implementation of members to which this attribute applies. (Inherited from PostSharp.Extensibility.MulticastAttribute) |
| AttributeTargetMembers | Gets or sets the expression specifying to which members this instance applies. (Inherited from PostSharp.Extensibility.MulticastAttribute) |
| AttributeTargetParameterAttributes | Gets or sets the passing style (by value, out or ref) of parameters to which this attribute applies. (Inherited from PostSharp.Extensibility.MulticastAttribute) |
| AttributeTargetParameters | Gets or sets the expression specifying to which parameters this instance applies. (Inherited from PostSharp.Extensibility.MulticastAttribute) |
| AttributeTargetTypeAttributes | Gets or sets the visibilities of types to which this attribute applies. (Inherited from PostSharp.Extensibility.MulticastAttribute) |
| AttributeTargetTypes | Gets or sets the expression specifying to which types this instance applies. (Inherited from PostSharp.Extensibility.MulticastAttribute) |
| BaseCategory | The top level category for log messages and metrics. Defaults to the name of the current application. (Inherited from Gibraltar.Agent.PostSharp.GAspectBase) |
| Enabled | Enables or disables tracing for all methods tagged with GTrace in the current process. Enabled by default. |
| EnableSourceLookup | Enables lookup of source line and method. Enabled by default. |
| LogParameterDetails | Enables or disables recording of object detail for parameters via ToString. Enabled by default. |
| LogParameters | Enables or disables recording of parameters and their values. Enabled by default. |
| LogReturnValue | Enables or disables recording of the method return value (if declared). Enabled by default. |
| TypeId | When implemented in a derived class, gets a unique identifier for this System.Attribute. (Inherited from System.Attribute) |
Top
Protected Properties
| Name | Description |
| CaptionName | A display caption that is calculated at compile time rather then runtime for efficiency. (Inherited from Gibraltar.Agent.PostSharp.GAspectBase) |
| SerializerType | Gets or sets the System.Type of the serializer (a type derived from PostSharp.Aspects.Serialization.AspectSerializer) used to serialize the aspect instance at build time and deserialize it at runtime. (Inherited from PostSharp.Aspects.Aspect) |
Top
Public Methods
| Name | Description |
| CompileTimeInitialize | Overridden. Method invoked at build time to initialize the instance fields of the current aspect. This method is invoked before any other build-time method. PostSharp Infrastructure. The method stores values that will allow for faster run-time execution. PostSharp Infrastructure. This method pre-computes as much as possible at compile time to minimize runtime processing requirements. |
| CompileTimeValidate | Overloaded. (Inherited from PostSharp.Aspects.MethodLevelAspect) |
| Equals | Returns a value that indicates whether this instance is equal to a specified object. (Inherited from System.Attribute) |
| GetAspectConfiguration | Method invoked at build tome to get the imperative configuration of the current PostSharp.Aspects.Aspect. (Inherited from PostSharp.Aspects.Aspect) |
| GetHashCode | Returns the hash code for this instance. (Inherited from System.Attribute) |
| IsDefaultAttribute | When overridden in a derived class, indicates whether the value of this instance is the default value for the derived class. (Inherited from System.Attribute) |
| Match | When overridden in a derived class, returns a value that indicates whether this instance equals a specified object. (Inherited from System.Attribute) |
| OnEntry | Overridden. Method executed before the body of methods to which this aspect is applied. PostSharp Infrastructure. This method is called each time a tagged method is called. |
| OnException | Method executed after the body of methods to which this aspect is applied, in case that the method resulted with an exception. (Inherited from PostSharp.Aspects.OnMethodBoundaryAspect) |
| OnExit | Overridden. Method executed after the body of methods to which this aspect is applied, even when the method exists with an exception (this method is invoked from the finally block).PostSharp Infrastructure. This method is called when the method returns. |
| OnSuccess | Method executed after the body of methods to which this aspect is applied, but only when the method successfully returns (i.e. when no exception flies out the method.). (Inherited from PostSharp.Aspects.OnMethodBoundaryAspect) |
| RuntimeInitialize | Initializes the current aspect. (Inherited from PostSharp.Aspects.MethodLevelAspect) |
Top
See Also