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
/** | |
* @var <% $3.replace("'';",'string').replace('0;','int') %> | |
* @text('label' => '<% $1.replace("$","").replace('_', ' ').toSentenceCase() %>') | |
*/ | |
$row |
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
[TestMethod] | |
public void Can_create_controllers() | |
{ | |
var kernel = new StandardKernel(); | |
SiteResolver.RegisterComponents(kernel); | |
typeof(AccountController) | |
.Assembly | |
.GetTypes() | |
.Where(t => typeof(Controller).IsAssignableFrom(t)) |
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
/* | |
* DynamicSiteMapProvider | |
* | |
* Created by Simon Harriyott http://harriyott.com | |
* More details at http://harriyott.com/2007/03/adding-dynamic-nodes-to-aspnet-site | |
* | |
* DynamicSiteMapProvider is a class that adds new | |
* items to a site map at runtime. The filename of | |
* the existing xml sitemap is set in the Web.Config | |
* file. This file is loaded, and extra nodes can |
NewerOlder