|Available on||.NET Framework 4.5, .NET Framework 4.6, Portable Class Libraries, Xamarin - Android, Xamarin - iOS|
public interface ILocator
Interface defining shared information about locators. This way, any locator can be casted to this interface and be used to locate something by naming convention.
Gets or sets the naming conventions to use to locate types. By adding or removing conventions to this property, the service can use custom resolving of types. Each implementation should add its own default naming convention.
Keep in mind that all results are cached. The cache itself is not automatically cleared when the NamingConventions are changed. If the NamingConventions are changed, the cache must be cleared manually.
Clears the cache of the resolved naming conventions.
Note that clearing the cache will also clear all manually registered types registered via the
Have a question about Catel? Use StackOverflow with the Catel tag!