Skip to content

Commit

Permalink
Preserve protected method in WinRT and don't change FakeRaygunClient
Browse files Browse the repository at this point in the history
  • Loading branch information
QuantumNightmare committed Apr 16, 2015
1 parent 4ea5d90 commit 75cacad
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Mindscape.Raygun4Net.WinRT.Tests/Model/FakeRaygunClient.cs
Expand Up @@ -20,7 +20,7 @@ public FakeRaygunClient(string apiKey)

public RaygunMessage ExposeBuildMessage(Exception exception, [Optional] IList<string> tags, [Optional] IDictionary userCustomData)
{
return BuildMessage(exception, tags, userCustomData, null);
return BuildMessage(exception, tags, userCustomData);
}

public bool ExposeOnSendingMessage(RaygunMessage raygunMessage)
Expand Down
5 changes: 5 additions & 0 deletions Mindscape.Raygun4Net.WinRT/RaygunClient.cs
Expand Up @@ -234,6 +234,11 @@ public async void Send(RaygunMessage raygunMessage)
}
}

protected RaygunMessage BuildMessage(Exception exception, IList<string> tags, IDictionary userCustomData)
{
return BuildMessage(exception, tags, userCustomData, null);
}

protected RaygunMessage BuildMessage(Exception exception, IList<string> tags, IDictionary userCustomData, DateTime? currentTime)
{
var message = RaygunMessageBuilder.New
Expand Down
Expand Up @@ -20,7 +20,7 @@ public FakeRaygunClient(string apiKey)

public RaygunMessage ExposeBuildMessage(Exception exception, [Optional] IList<string> tags, [Optional] IDictionary userCustomData)
{
return BuildMessage(exception, tags, userCustomData, null);
return BuildMessage(exception, tags, userCustomData);
}

public bool ExposeOnSendingMessage(RaygunMessage raygunMessage)
Expand Down

0 comments on commit 75cacad

Please sign in to comment.