Skip to content

JsonLocalTextRegistration.AddJsonResourceTexts method (1 of 2)

Adds JSON texts from embedded resources.

public static ILocalTextRegistry AddJsonResourceTexts(this ILocalTextRegistry registry, 
    IEnumerable<Assembly> assemblies)
parameter description
registry The text registry.
assemblies The list of assemblies.

Return Value

The text registry.

Exceptions

exception condition
ArgumentNullException registry or assemblies is null.

See Also


JsonLocalTextRegistration.AddJsonResourceTexts method (2 of 2)

Adds JSON texts from embedded resources.

public static ILocalTextRegistry AddJsonResourceTexts(this ILocalTextRegistry registry, 
    ITypeSource typeSource)
parameter description
registry The text registry.
typeSource The type source.

Return Value

The text registry.

Exceptions

exception condition
ArgumentNullException registry or type source is null.

See Also