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

LoggingRoleConfigurationRepository Class

Provides access to role-specific options (LoggingRoleConfiguration). This class is exposed on the Profiles.
Inheritance Hierarchy
System.Object
  PostSharp.Patterns.Diagnostics.LoggingRoleConfigurationRepository

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 LoggingRoleConfigurationRepository : IEnumerable<LoggingRoleConfiguration>, 
	IEnumerable

The LoggingRoleConfigurationRepository type exposes the following members.

Properties
  NameDescription
Public propertyAudit
Gets the LoggingRoleConfiguration object for the Audit role.
Public propertyCaching
Gets the LoggingRoleConfiguration object for the Caching role.
Public propertyCustom
Gets the LoggingRoleConfiguration object for the Custom role.
Public propertyItem
Gets the LoggingRoleConfiguration for a given role.
Public propertyMeta
Gets the LoggingRoleConfiguration object for the Meta role.
Public propertyTracing
Gets the LoggingRoleConfiguration object for the Tracing role.
Methods
  NameDescription
Public methodGetEnumerator
Returns an enumerator that iterates through the collection.
Extension Methods
  NameDescription
Public Extension MethodToAdvisableCollection<LoggingRoleConfiguration>
Converts an IEnumerable<T> into an AdvisableCollection<T>.
(Defined by Extensions.)
Public Extension MethodToAdvisableDictionary<LoggingRoleConfiguration, TKey, TValue>
Converts an IEnumerable<T> into a AdvisableDictionary<TKey, TValue> given a method returning the item key and a method returning the item value.
(Defined by Extensions.)
Public Extension MethodToAdvisableHashSet<LoggingRoleConfiguration>
Converts an IEnumerable<T> into an AdvisableHashSet<T>.
(Defined by Extensions.)
See Also