/// <summary> /// Get the concept service. /// </summary> /// <param name="me">The current application context.</param> /// <returns>Returns an instance of the <see cref="IConceptRepositoryService"/>.</returns> public static IConceptRepositoryService GetConceptService(this IApplicationServiceContext me) { return(me.GetService <IConceptRepositoryService>()); }
/// <summary> /// Gets the assigning authority repository service. /// </summary> /// <param name="me">The current application context.</param> /// <returns>Returns an instance of the <see cref="IAssigningAuthorityRepositoryService"/>.</returns> public static IAssigningAuthorityRepositoryService GetAssigningAuthorityService(this IApplicationServiceContext me) { return(me.GetService <IAssigningAuthorityRepositoryService>()); }
/// <summary> /// Gets the business rules service for a specific information model. /// </summary> /// <typeparam name="T">The type of information for which to retrieve the business rules engine instance.</typeparam> /// <param name="me">The application context.</param> /// <returns>Returns an instance of the business rules service.</returns> public static IBusinessRulesService <T> GetBusinessRulesService <T>(this IApplicationServiceContext me) where T : IdentifiedData { return(me.GetService <IBusinessRulesService <T> >()); }
/// <summary> /// Get application provider service /// </summary> /// <param name="me">The current application context.</param> /// <returns>Returns an instance of the <see cref="IApplicationIdentityProviderService"/>.</returns> public static IApplicationIdentityProviderService GetApplicationProviderService(this IApplicationServiceContext me) { return(me.GetService <IApplicationIdentityProviderService>()); }