Skip to content

Commit

Permalink
Minor cleanup in comments
Browse files Browse the repository at this point in the history
  • Loading branch information
gorohoroh committed Jul 3, 2018
1 parent 972408e commit ad091de
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
1 change: 0 additions & 1 deletion OdeToFoodVisualStudio/OdeToFoodVisualStudio/IGreeter.cs
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@ public interface IGreeter

// VSvsRider: Visual Studio does allow implementing IGreeter from usage when the Greeter class has been declared; however, Rider does have the advantage of providing the "Create derived type"
// context action upon the IGreeter declaration.
// Presentation: proceed in "Creating and injecting greeting service" at 1:25
class Greeter : IGreeter
{
public string GetMessageOfTheDay()
Expand Down
2 changes: 1 addition & 1 deletion OdeToFoodVisualStudio/OdeToFoodVisualStudio/Startup.cs
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ public void Configure(IApplicationBuilder app, IHostingEnvironment env, IGreeter
{
// Configuration sources by descending priority: 1. command-line parameter, 2. environment variable, 3. appsettings.json (enables storing dev settings in appsettings.json and overriding them in production wtih environment variables for example)
// RDVS: doesn look like there's an action to add a new comment (there are actions to comment/decomment existing code; and to add documentation comment)
// RDVS: doesn't look like there's an action to add a new comment (there are actions to comment/decomment existing code; and to add documentation comment)
// RDVS: VS create from usage isn't quite on par right now: given the undeclared IGreeter interface in method parameteres and the below line that uses an undeclared method,
// <strike>1. You must create the interface from usage first, and only then can you create the method - so there's no chaining in Create from Usage;</strike> - same in Rider :(
// 2. The created symbol doesn't get focus: both when it's created in a separate file and when it's created in the same file
Expand Down

0 comments on commit ad091de

Please sign in to comment.