<PackageReference Include="Castle.Windsor" Version="3.3.0" />

CastleComponentAttribute

This attribute is useful only when you want to register all components on an assembly as a batch process. By doing so, the batch register will look for this attribute to distinguish components from other classes.
public bool HasName { get; }

public string Name { get; }

public Type[] Services { get; }

public bool ServicesSpecifiedExplicitly { get; }

public CastleComponentAttribute(string name)

public CastleComponentAttribute(Type[] services)

public CastleComponentAttribute(string name, Type[] services)

public CastleComponentAttribute(string name, LifestyleType lifestyle, Type[] services)