C# Class Castle.Core.ComponentName

Afficher le fichier Open project: castleproject/Windsor Class Usage Examples

Méthodes publiques

Méthode Description
ComponentName ( string name, bool setByUser ) : System
DefaultFor ( Type componentType ) : ComponentName

Gets the default name for component implemented by componentType which will be used in case when user does not provide one explicitly.

DefaultNameFor ( Type componentType ) : string

Gets the default name for component implemented by componentType which will be used in case when user does not provide one explicitly.

ToString ( ) : string

Private Methods

Méthode Description
SetName ( string value ) : void

Method Details

ComponentName() public méthode

public ComponentName ( string name, bool setByUser ) : System
name string
setByUser bool
Résultat System

DefaultFor() public static méthode

Gets the default name for component implemented by componentType which will be used in case when user does not provide one explicitly.
public static DefaultFor ( Type componentType ) : ComponentName
componentType System.Type
Résultat ComponentName

DefaultNameFor() public static méthode

Gets the default name for component implemented by componentType which will be used in case when user does not provide one explicitly.
public static DefaultNameFor ( Type componentType ) : string
componentType System.Type
Résultat string

ToString() public méthode

public ToString ( ) : string
Résultat string