Inheritance: LifestyleAttribute
		private static string GetName(CastleComponentAttribute defaults, IConfiguration component)
		{
			if (component.Attributes["id-automatic"] != bool.TrueString)
			{
				return component.Attributes["id"];
			}
			return defaults.Name;
		}
Exemplo n.º 2
0
		private void AddToResult(Type type, CastleComponentAttribute attribute)
		{
			_result.Add( new ComponentDefinition( attribute.Key, attribute.Service, type ) );
		}