PostSharpAPI ReferencePost­Sharp.​Patterns.​DiagnosticsLogging­Profile­RepositoryRegister­Profile
Open sandboxFocus

LoggingProfileRepository.RegisterProfile Method

RegisterProfile(String, Assembly, LoggingProfile)

Register a LoggingProfile. This method is invoked by the code generated by PostSharp.

Declaration
public void RegisterProfile(string name, Assembly assembly, LoggingProfile profile)
Parameters
Type Name Description
System.String name

Name of the profile.

Assembly assembly

Assembly in which the profile is defined.

LoggingProfile profile

The profile itself.