Skip to content

Instantly share code, notes, and snippets.

@RookieOne
Created March 19, 2010 20:42
Show Gist options
  • Save RookieOne/338155 to your computer and use it in GitHub Desktop.
Save RookieOne/338155 to your computer and use it in GitHub Desktop.
string showAs = _defaultShowAs;
if (route.Contains(KnownParameters.ShowAs))
{
showAs = route[KnownParameters.ShowAs].ToString();
}
/// AND
public override bool CanProcessFilter(IRoute route)
{
return !route.Contains(KnownParameters.Controller);
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment