C# Class Castle.Core.ComponentName

Show file Open project: castleproject/Windsor Class Usage Examples

Public Methods

Method 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

Method Description
SetName ( string value ) : void

Method Details

ComponentName() public method

public ComponentName ( string name, bool setByUser ) : System
name string
setByUser bool
return System

DefaultFor() public static method

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
return ComponentName

DefaultNameFor() public static method

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
return string

ToString() public method

public ToString ( ) : string
return string