FormatterRepository<TRole>.Get Method (Type) |
Returns a formatter for a specific object. This overload should be used when the type of the object
is not known at build time because the type is non-sealed.
Namespace: PostSharp.Patterns.Formatters
Assembly: PostSharp.Patterns.Common (in PostSharp.Patterns.Common.dll) Version: 2023.0.3.0 (2023.0.3.0)
C#
public static IFormatter Get( Type objectType )
Parameters
- objectType
- Type: System.Type
Object type.
Return Value
Type: IFormatterThe formatter the object objectType.