Initialise() публичный Метод

public Initialise ( ConnectionInformation connectionInformation ) : void
connectionInformation SlackConnector.Models.ConnectionInformation
Результат void
Пример #1
0
        public async Task <ISlackConnection> Create(ConnectionInformation connectionInformation)
        {
            var slackConnection = new SlackConnection(new ConnectionFactory(), new MentionDetector(), new MonitoringFactory());
            await slackConnection.Initialise(connectionInformation);

            return(slackConnection);
        }
Пример #2
0
        public ISlackConnection Create(ConnectionInformation connectionInformation)
        {
            var slackConnection = new SlackConnection(_connectionFactory, _chatHubInterpreter, _mentionDetector);

            slackConnection.Initialise(connectionInformation);
            return(slackConnection);
        }
 public ISlackConnection Create(ConnectionInformation connectionInformation)
 {
     var slackConnection = new SlackConnection(_connectionFactory, _mentionDetector);
     slackConnection.Initialise(connectionInformation);
     return slackConnection;
 }