Mobile/CafeLib.Mobile/Extensions/ServiceRegistryExtensions.cs
/// <summary>
/// Add the property service to the service registry.
/// </summary>
/// <param name="serviceRegistry"></param>
/// <returns></returns>
Add the property service to the service registry.
Add the property service to the service registry .
public static IServiceRegistry AddDictionaryService(this IServiceRegistry serviceRegistry)
        {
            serviceRegistry.AddSingleton<IDictionaryService>(_ => DictionaryService.Current);
            return serviceRegistry;
        }
public static IServiceRegistry AddDictionaryService ( this IServiceRegistry serviceRegistry ) { serviceRegistry . AddSingleton < IDictionaryService > ( _ => DictionaryService . Current ) ; return serviceRegistry ; }
Add the property service to the service registry.
Add the property service to the service registry .
None
IServiceRegistry
this
serviceRegistry
None