예제 #1
0
 /// <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>());
 }
예제 #2
0
 /// <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>());
 }
예제 #3
0
 /// <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> >());
 }
예제 #4
0
 /// <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>());
 }