Skip to content

Commit

Permalink
Resolve comments
Browse files Browse the repository at this point in the history
  • Loading branch information
lewischeng-ms committed Oct 14, 2015
1 parent ae170dc commit 1f4ad52
Show file tree
Hide file tree
Showing 6 changed files with 12 additions and 12 deletions.
6 changes: 3 additions & 3 deletions src/Microsoft.Restier.Core/Properties/Resources.Designer.cs

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions src/Microsoft.Restier.Core/Properties/Resources.resx
Original file line number Diff line number Diff line change
Expand Up @@ -129,8 +129,8 @@
<data name="CannotSetChangeSetIfThereIsResult" xml:space="preserve">
<value>The change set cannot be set if there is already a result.</value>
</data>
<data name="CannotSetResultsSourceIfThereIsError" xml:space="preserve">
<value>The results source cannot be set if there is error.</value>
<data name="CannotSetResultsSourceIfThereIsAnyError" xml:space="preserve">
<value>The results source cannot be set if there is any error.</value>
</data>
<data name="CannotSetTotalCountIfThereIsNoResult" xml:space="preserve">
<value>The total count cannot be set if there is no result yet.</value>
Expand Down
2 changes: 1 addition & 1 deletion src/Microsoft.Restier.Core/Query/QueryResult.cs
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ public IEdmEntitySet ResultsSource
if (this.error != null)
{
throw new InvalidOperationException(
Resources.CannotSetResultsSourceIfThereIsError);
Resources.CannotSetResultsSourceIfThereIsAnyError);
}

this.resultsSource = value;
Expand Down
6 changes: 3 additions & 3 deletions src/Microsoft.Restier.WebApi/Properties/Resources.Designer.cs

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions src/Microsoft.Restier.WebApi/Properties/Resources.resx
Original file line number Diff line number Diff line change
Expand Up @@ -159,8 +159,8 @@
<data name="PathSegmentNotSupported" xml:space="preserve">
<value>Path segment not supported: {0}</value>
</data>
<data name="PostUnboundActionNotSupported" xml:space="preserve">
<value>Post unbound action is not supported by `RestierController`.</value>
<data name="PostToUnboundActionNotSupported" xml:space="preserve">
<value>Post to unbound action is not supported by `RestierController`.</value>
</data>
<data name="ResourceNotFound" xml:space="preserve">
<value>The resource you requested is not found.</value>
Expand Down
2 changes: 1 addition & 1 deletion src/Microsoft.Restier.WebApi/RestierController.cs
Original file line number Diff line number Diff line change
Expand Up @@ -210,7 +210,7 @@ public async Task<IHttpActionResult> PostAction(CancellationToken cancellationTo
UnboundActionPathSegment actionPathSegment = path.Segments.Last() as UnboundActionPathSegment;
if (actionPathSegment == null)
{
throw new NotSupportedException(Resources.PostUnboundActionNotSupported);
throw new NotSupportedException(Resources.PostToUnboundActionNotSupported);
}

ActionInvocationEntry entry = new ActionInvocationEntry(actionPathSegment.ActionName, null);
Expand Down

0 comments on commit 1f4ad52

Please sign in to comment.