Skip to content

Version 1.0.0-b2

Choose a tag to compare

@Personator01 Personator01 released this 20 May 18:13
· 11 commits to main since this release

Enhancements and bugfixes from 1.0.0-b1

Enhancements

  • Removed visualize option from AddEvent
    Because of how BCI2000 works, the visualize option does not work. Instead, use the Visualize method.
  • Code now uses full C# null checking
  • StartupModules now takes IDictionary<string, IEnumerable<string>?> instead of Dictionary<string, List<string>?>. This makes it more flexible, and also enables better interfacing with F#. Unfortunately, it also makes it impossible to use new() type deduction when passing the parameter. Passing the modules parameter is done like so:
StartupModules(new Dictionary<string, IEnumerable<string>?> () {
  //In the .NET 8.0 version
  {"ModuleName1", ["parameter1=value1", "parameter2=value2"]},
  //In either the .NET Standard 2.1 or .NET 8.0 version
  {"ModuleName2", new string[] {"parameter1=value1", "parameter2=value2"}},
  //Passing no module parameters
  {"ModuleName3", null}
});
  • Added delay parameter to StartOperator, in order to give the operator time to start before attempting to connect. By default, the library will block for 200ms after starting the operator.

Bug fixes

  • Fixed bug in which SendCommand is not called when calling Execute<T>
  • Fixed WaitForSystemState expecting boolean response when called with no timeout parameter