Skip to content

Latest commit

 

History

History
19 lines (12 loc) · 772 Bytes

File metadata and controls

19 lines (12 loc) · 772 Bytes

Rainbow

Rainbow CSharp SDK Samples - Terminal Application - Login

This example permits to understand:

  • how to manage login / logout features

  • the AutoReconnection service

  • You need first to set ../TerminalAppLibrary/Resources.json according you environment / configuration:

    • server configuration with appId, appSecret and hostname
    • account(s) with botName, login, password

How it works

BotViewFactory implements the IBotViewFactory in the easiest way.

BotView inherits from View and display the LoginView available from the TerminallAppLibrary

Main.cs specify the IBotViewFactory for the BotWindow and use this window as main for Terminal.Gui.Application.