ImplicitLocalTextRegistration.AddImplicitTexts method
Adds implicit local text keys defined by attributes implementing IImplicitLocalTextRegistrar to the specified registry. This method iterates through all types provided by the typeSource and invokes the AddLocalTexts method on each attribute implementing IImplicitLocalTextRegistrar.
public static void AddImplicitTexts(this ILocalTextRegistry registry, ITypeSource typeSource)
| parameter |
description |
| registry |
The local text registry to which the local text keys will be added. |
| typeSource |
The type source to search for types with implicit local text registrars. |
Exceptions
| exception |
condition |
| ArgumentNullException |
Thrown if either registry or typeSource is null. |
See Also