NamingRegistrationConvention

Name Value
Assembly Catel.Core
Namespace Catel.IoC
Available on .NET Framework 4.5, .NET Framework 4.6, Portable Class Libraries, Xamarin - Android, Xamarin - iOS
public class NamingRegistrationConvention : RegistrationConventionBase

Base types RegistrationConventionBase

The naming convention based on RegistrationConventionBase.

Fields

Constructors

NamingRegistrationConvention(IServiceLocator serviceLocator, RegistrationType registrationType)

Initializes a new instance of the NamingRegistrationConvention class.

Parameters

Name Description
serviceLocator The service locator.
registrationType Type of the registration.

Methods

Process(IEnumerable<Type> typesToRegister)

Processes the specified types to register.

Parameters

Name Description
typesToRegister The types to register.

Exceptions

Name Description
System.ArgumentNullException The typesToRegister isnull.

Have a question about Catel? Use StackOverflow with the Catel tag!


Discussion