Mobile/CafeLib.Mobile/Extensions/ServiceRegistryExtensions.cs
/// <summary>
/// Add the event service to the service registry.
/// </summary>
/// <param name="serviceRegistry"></param>
/// <returns></returns>
Add the event service to the service registry.
Add the event service to the service registry .
public static IServiceRegistry AddEventService(this IServiceRegistry serviceRegistry)
        {
            serviceRegistry.AddSingleton<IEventService, EventService>();
            return serviceRegistry;
        }
public static IServiceRegistry AddEventService ( this IServiceRegistry serviceRegistry ) { serviceRegistry . AddSingleton < IEventService , EventService > ( ) ; return serviceRegistry ; }
Add the event service to the service registry.
Add the event service to the service registry .
None
IServiceRegistry
this
serviceRegistry
None