public FineApi( IRepository<User, UserDataModel, Guid> userRepository, IRepository<Payment, PaymentDataModel, Guid> paymentRepository, IFineMapper fineMapper, IUserMapper userMapper, IPaymentMapper paymentMapper, IExcelExportService<FineExportModel> excelExportService, IChannelApi channelApi, IUserApi userApi, IGroupsApi groupApi, IChatApi chatApi, IReactionApi reactionApi) { this.userRepository = userRepository; this.paymentRepository = paymentRepository; this.fineMapper = fineMapper; this.userMapper = userMapper; this.paymentMapper = paymentMapper; this.excelExportService = excelExportService; this.channelApi = channelApi; this.userApi = userApi; this.groupApi = groupApi; this.chatApi = chatApi; this.reactionApi = reactionApi; }
/// <summary> /// Create client object with mock implementation. This is for unit testing purpose. /// </summary> public static DatabricksClient CreateClient(IClustersApi clusterApi, IJobsApi jobsApi, IDbfsApi dbfsApi, ISecretsApi secretsApi, IGroupsApi groupsApi, ILibrariesApi librariesApi, ITokenApi tokenApi, IWorkspaceApi workspaceApi, IInstancePoolApi instancePoolApi) { return(new DatabricksClient(clusterApi, jobsApi, dbfsApi, secretsApi, groupsApi, librariesApi, tokenApi, workspaceApi, instancePoolApi)); }
/// <summary> /// Initializes a new instance of the <see cref="DatabricksClient"/> class. /// </summary> /// <param name="clusterApi">The cluster API implementation.</param> /// <param name="jobsApi">The jobs API implementation.</param> /// <param name="dbfsApi">The dbfs API implementation.</param> /// <param name="secretsApi">The secrets API implementation.</param> /// <param name="groupsApi">The groups API implementation.</param> /// <param name="librariesApi">The libraries API implementation.</param> /// <param name="tokenApi">The token API implementation.</param> /// <param name="workspaceApi">The workspace API implementation.</param> /// private DatabricksClient(IClustersApi clusterApi, IJobsApi jobsApi, IDbfsApi dbfsApi, ISecretsApi secretsApi, IGroupsApi groupsApi, ILibrariesApi librariesApi, ITokenApi tokenApi, IWorkspaceApi workspaceApi) { this.Clusters = clusterApi; this.Jobs = jobsApi; this.Dbfs = dbfsApi; this.Secrets = secretsApi; this.Groups = groupsApi; this.Libraries = librariesApi; this.Token = tokenApi; this.Workspace = workspaceApi; }
public GroupListExampleResponder(IGroupsApi groupsApi) { this.groupsApi = groupsApi; }
public EventsController(IEventsApi eventsApi, IGroupsApi groupsApi) { _eventsApi = eventsApi; _groupsApi = groupsApi; }
public GroupsHistoryExampleResponder(IGroupsApi groupsApi) { this.groupsApi = groupsApi; }
public GroupsController(IGroupsApi groupsApi, IEventsApi eventsApi) { _groupsApi = groupsApi; _eventsApi = eventsApi; }