Method rename suggestion #1654

Closed
opened 2025-08-09 17:21:09 +00:00 by fergalmoran · 0 comments
Owner

Originally created by @imranbaloch on 3/9/2016

Just a small suggestion to rename these method to make it consistent async naming.

74cac774f8/src/Microsoft.AspNet.AngularServices/AngularRenderer.cs (L16)

RenderToString to RenderToStringAsync

74cac774f8/src/Microsoft.AspNet.NodeServices/INodeInstance.cs (L6-L8)

Invoke to invokeAsync

74cac774f8/src/Microsoft.AspNet.AngularServices/PrimeCacheHelper.cs (L11)

PrimeCache to PrimeCacheAsync

:)

*Originally created by @imranbaloch on 3/9/2016* Just a small suggestion to rename these method to make it consistent async naming. https://github.com/aspnet/NodeServices/blob/74cac774f8800f59da9aaf98950b7da9e2297d72/src/Microsoft.AspNet.AngularServices/AngularRenderer.cs#L16 RenderToString to RenderToStringAsync https://github.com/aspnet/NodeServices/blob/74cac774f8800f59da9aaf98950b7da9e2297d72/src/Microsoft.AspNet.NodeServices/INodeInstance.cs#L6-L8 Invoke to invokeAsync https://github.com/aspnet/NodeServices/blob/74cac774f8800f59da9aaf98950b7da9e2297d72/src/Microsoft.AspNet.AngularServices/PrimeCacheHelper.cs#L11 PrimeCache to PrimeCacheAsync :)
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github/JavaScriptServices#1654
No description provided.