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
public abstract class PageModelBase : PageModel | |
{ | |
public virtual RedirectToPageResult RedirectToPage<TPageModel>() | |
where TPageModel : PageModel | |
{ | |
return RedirectToPage<TPageModel>((object) null); | |
} | |
public virtual RedirectToPageResult RedirectToPage<TPageModel>( | |
string pageHandler) |
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
class Program | |
{ | |
static void Main(string[] args) | |
{ | |
// John responded to Michael 20 times | |
// John responded to Dave 10 times | |
// Michael responded to John 5 times | |
// Michael responded to Dave 8 times | |
// Dave responded to John 19 times | |
// Dave responded to Michael 3 times |
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
#!/bin/sh | |
### BEGIN INIT INFO | |
# Provides: <SERVICE_NAME> | |
# Required-Start: $local_fs $network $named $time $syslog | |
# Required-Stop: $local_fs $network $named $time $syslog | |
# Default-Start: 2 3 4 5 | |
# Default-Stop: 0 1 6 | |
# Description: Script to run asp.net 5 application in background | |
### END INIT INFO |