public ReleaseCommandHandler(IFirebaseService firebaseClient, IConfiguration config, IWithinReleaseService releaseService, IGitHubService githubService, ICardCreator cardCreator, IRepositoryMapper mapper, IFirebaseLogger logger) { this.service = firebaseClient; this.config = config; this.releaseMessageText = config["ReleaseBatonText"]; this.appId = config["MicrosoftAppId"]; this.releaseService = releaseService; this.githubService = githubService; this.cardCreator = cardCreator; this.logger = logger; this.mapper = mapper; }
public SomeonesMergedController(IBotFrameworkHttpAdapter adapter, IConfiguration configuration, IFirebaseService firebaseClient, ICardCreator cardCreator, IRepositoryMapper repoMapper) { this.service = firebaseClient; this.adapter = adapter; this.appId = configuration["MicrosoftAppId"]; this.cardCreator = cardCreator; this.repoMapper = repoMapper; if (string.IsNullOrEmpty(appId)) { this.appId = Guid.NewGuid().ToString(); //if no AppId, use a random Guid } }
public TakeCommandHandler(IFirebaseService firebaseService, ICardCreator cardBuilder, IWithinReleaseService releaseService) { this.service = firebaseService; this.showBatonService = new GetAndDisplayBatonService(firebaseService, cardBuilder); this.releaseService = releaseService; }
public ShowCommandHandler(IFirebaseService client, ICardCreator cardCreator) { this.service = new GetAndDisplayBatonService(client, cardCreator); }
public GetAndDisplayBatonService(IFirebaseService firebaseClient, ICardCreator cardCreator) { this.firebaseClient = firebaseClient; this.cardCreator = cardCreator; }
public WithinReleaseService(IGitHubService service, ICardCreator cardCreator, IRepositoryMapper repoMapper) { this.service = service; this.cardCreator = cardCreator; this.repoMapper = repoMapper; }