예제 #1
0
 public static IMemberRepository GetMemberRepository() =>
 new MemberDAL(UtilityFactory.GetConfig().ConnectionString);
예제 #2
0
 public static IProjectRepository GetProjectRepository() =>
 new ProjectDAL(UtilityFactory.GetConfig().ConnectionString);
예제 #3
0
 public static IBusinessLogic GetGitHubListTeamMembersLogic(Type classContext, ICommandContext context, string gitHubTeamSlug) =>
 new GitHubListTeamMembersLogic(Log.Logger.ForContext(classContext), context, new GitHubClient(UtilityFactory.GetConfig().GitHubAuthToken, UtilityFactory.GetConfig().GitHubOrganizationName), gitHubTeamSlug);
예제 #4
0
 public static IBusinessLogic GetGitHubListOrgLogic(Type classContext, ICommandContext context) =>
 new GitHubListOrgLogic(Log.Logger.ForContext(classContext), context, new GitHubClient(UtilityFactory.GetConfig().GitHubAuthToken, UtilityFactory.GetConfig().GitHubOrganizationName));
예제 #5
0
 public static IBusinessLogic GetGitHubJoinOrgLogic(Type classContext, ICommandContext context, string gitHubEmail) =>
 new GitHubJoinOrgLogic(Log.Logger.ForContext(classContext), context, UtilityFactory.GetConfig().GitHubAuthToken, UtilityFactory.GetConfig().GitHubOrganizationName, gitHubEmail);
예제 #6
0
 public static IBusinessLogic GetHelpLogic(Type classContext, ICommandContext context) =>
 new HelpLogic(Log.Logger.ForContext(classContext), context, ModuleDetailRepository.Modules, UtilityFactory.GetConfig().Prefix);