Skip to content

Commit 2da64df

Browse files
committed
Fix for version handling in About
* Make ILRS argument name match implementation name for State APIs * Bump to 0.0.2.0
1 parent 69400c5 commit 2da64df

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed

TinCan/About.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ public About(JObject jobj)
4646

4747
public override JObject ToJObject(TCAPIVersion version) {
4848
JObject result = new JObject();
49-
if (version != null)
49+
if (this.version != null)
5050
{
5151
var versions = new JArray();
5252
foreach (var v in this.version) {

TinCan/ILRS.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,8 +33,8 @@ public interface ILRS
3333

3434
ProfileKeysLRSResponse RetrieveStateIds(Activity activity, Agent agent, Nullable<Guid> registration = null);
3535
StateLRSResponse RetrieveState(String id, Activity activity, Agent agent, Nullable<Guid> registration = null);
36-
LRSResponse SaveState(StateDocument profile);
37-
LRSResponse DeleteState(StateDocument profile);
36+
LRSResponse SaveState(StateDocument state);
37+
LRSResponse DeleteState(StateDocument state);
3838
LRSResponse ClearState(Activity activity, Agent agent, Nullable<Guid> registration = null);
3939

4040
ProfileKeysLRSResponse RetrieveActivityProfileIds(Activity activity);

TinCan/Properties/AssemblyInfo.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,5 +32,5 @@
3232
// You can specify all the values or you can default the Build and Revision Numbers
3333
// by using the '*' as shown below:
3434
// [assembly: AssemblyVersion("1.0.*")]
35-
[assembly: AssemblyVersion("0.0.1.0")]
36-
[assembly: AssemblyFileVersion("0.0.1.0")]
35+
[assembly: AssemblyVersion("0.0.2.0")]
36+
[assembly: AssemblyFileVersion("0.0.2.0")]

0 commit comments

Comments
 (0)