PostSharp6.1/API Reference/Post­Sharp.​Patterns.​Diagnostics Namespace/Logging­Profile­Repository Class

LoggingProfileRepository Class

Provides access to logging profiles (LoggingProfile) at run-time. Exposed by the Profiles property. Note that each assembly of the AppDomain contains its own copy of each LoggingProfile used in this assembly, and each copy may be different, even if they have the same name.
Inheritance Hierarchy
System.Object
  PostSharp.Patterns.Diagnostics.LoggingProfileRepository

Namespace:  PostSharp.Patterns.Diagnostics
Assembly:  PostSharp.Patterns.Diagnostics (in PostSharp.Patterns.Diagnostics.dll) Version: 6.1.23.0 (6.1.23.0)
Syntax
C#
public sealed class LoggingProfileRepository

The LoggingProfileRepository type exposes the following members.

Constructors
  NameDescription
Public methodLoggingProfileRepository
Initializes a new instance of the LoggingProfileRepository class
Methods
  NameDescription
Public methodGetProfile
Gets a profile given its name and declaring Assembly.
Public methodRegisterProfile
Register a LoggingProfile. This method is invoked by the code generated by PostSharp.
See Also