-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
0dacef6
commit 1e48eb5
Showing
3 changed files
with
15 additions
and
18 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,9 @@ | ||
namespace Contoso.Hello.ExtraLogic | ||
namespace Contoso.Hello.ExtraLogic; | ||
|
||
public static class IncrediblyUseless | ||
{ | ||
public static class IncrediblyUseless | ||
public static string DoNothing(string value) | ||
{ | ||
public static string DoNothing(string value) | ||
{ | ||
return value; | ||
} | ||
return value; | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,11 @@ | ||
using Newtonsoft.Json; | ||
|
||
namespace Contoso.Hello.Logic | ||
namespace Contoso.Hello.Logic; | ||
|
||
public static class ReallyUseless | ||
{ | ||
public static class ReallyUseless | ||
public static string SayHi() | ||
{ | ||
public static string SayHi() | ||
{ | ||
return JsonConvert.SerializeObject("Hello"); | ||
} | ||
return JsonConvert.SerializeObject("Hello"); | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,13 +1,12 @@ | ||
using Contoso.Hello.ExtraLogic; | ||
using Contoso.Hello.Logic; | ||
|
||
namespace Contoso.Hello.SuperLogic | ||
namespace Contoso.Hello.SuperLogic; | ||
|
||
public static class EvenMoreUseless | ||
{ | ||
public static class EvenMoreUseless | ||
public static string DoWork() | ||
{ | ||
public static string DoWork() | ||
{ | ||
return IncrediblyUseless.DoNothing($"Some JSON (maybe): {ReallyUseless.SayHi()}"); | ||
} | ||
return IncrediblyUseless.DoNothing($"Some JSON (maybe): {ReallyUseless.SayHi()}"); | ||
} | ||
} |