LoggingProfileRepository.GetProfile Method |
Gets a profile given its name and declaring Assembly.
Namespace: PostSharp.Patterns.Diagnostics
Assembly: PostSharp.Patterns.Diagnostics (in PostSharp.Patterns.Diagnostics.dll) Version: 6.9.11.0 (6.9.11.0)
C#
public LoggingProfile GetProfile( string name, Assembly assembly )
Parameters
- name
- Type: System.String
Name of the profile. - assembly
- Type: System.Reflection.Assembly
Assembly in which the profile is defined.
Return Value
Type: LoggingProfileA LoggingProfile, or null if assembly does not contain a profile named name.