Skip to content

Commit

Permalink
v1.3-beta.15
Browse files Browse the repository at this point in the history
- Module parameters can now hold any kind of object value through the new `SetData` method. Internally, the value of this method is directly bound to the `ModuleParameter.Value` property. `ModuleParameter.Value` will return the string representation of the object stored by the `SetData` method, JSON serializing it when needed (see updated docs).
- Fixed reporting of line numbers of runtime errors for csharp programs
- Program apps can now exchange any data object instance via `ModuleHelper.RaiseEvent` and `Program.ApiCall` methods (see updated docs).
  • Loading branch information
genemars committed Jun 22, 2020
1 parent 6bd4210 commit ca5fea8
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion HomeGenie/Data/ModuleParameter.cs
Original file line number Diff line number Diff line change
Expand Up @@ -164,7 +164,7 @@ public string Value
}
return JsonConvert.SerializeObject(data, new JsonSerializerSettings(){ Culture = CultureInfo.InvariantCulture });
}
set => SetData(value);
set { SetData(value); }
}

/// <summary>
Expand Down
2 changes: 1 addition & 1 deletion appveyor.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ version: 1.0.{build}
branches:
except:
- gh-pages
image: Visual Studio 2017
image: Visual Studio 2015
configuration: Debug
before_build:
- nuget restore .\HomeGenie\packages.config -SolutionDirectory .\HomeGenie_Windows
Expand Down

0 comments on commit ca5fea8

Please sign in to comment.