C# Class Ninject.Infrastructure.Introspection.FormatExtensions

Provides extension methods for string formatting
Datei anzeigen Open project: ninject/Ninject

Public Methods

Method Description
Format ( this request ) : string

Formats the specified request into a meaningful string representation.

Format ( this binding, IContext context ) : string

Formats the given binding into a meaningful string representation.

FormatActivationPath ( this request ) : string

Formats the activation path into a meaningful string representation.

Private Methods

Method Description
AppendGenericArguments ( StringBuilder sb, Type genericArguments, int start, int count ) : void
FormatGenericType ( string friendlyName, Type genericArguments ) : string
GetFriendlyName ( Type type ) : string
GetMemberType ( this member ) : MemberTypes

Method Details

Format() public static method

Formats the specified request into a meaningful string representation.
public static Format ( this request ) : string
request this The request to be formatted.
return string

Format() public static method

Formats the given binding into a meaningful string representation.
public static Format ( this binding, IContext context ) : string
binding this The binding to be formatted.
context IContext The context.
return string

FormatActivationPath() public static method

Formats the activation path into a meaningful string representation.
public static FormatActivationPath ( this request ) : string
request this The request to be formatted.
return string