/// <summary> /// Create SpeckleGSASender object. /// </summary> /// <param name="serverAddress">Server address</param> /// <param name="apiToken">API token</param> public StreamSender(string serverAddress, string apiToken) { this.apiToken = apiToken; apiClient = new SpeckleApiClient() { BaseUrl = serverAddress.ToString() }; //SpeckleInitializer.Initialize(); LocalContext.Init(); }
public AccountsUserControl() { InitializeComponent(); RegisterServerUrl.Text = _defaultServer; LoginServerUrl.Text = _defaultServer; //only show in popupmode ButonUseSelected.Visibility = Visibility.Collapsed; LocalContext.Init(); LoadAccounts(); }
public ListMyProjects() : base("Projects", "Projects", "Lists projects you own or have access to", "Speckle", "Management") { SpeckleInitializer.Initialize(); LocalContext.Init(); }