Created
April 3, 2013 03:05
-
-
Save shibayan/5298131 to your computer and use it in GitHub Desktop.
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
using System.Configuration; | |
namespace SwissKnife.T4 | |
{ | |
public static class AppSettings | |
{ | |
public static string ClientValidationEnabled | |
{ | |
get { return ConfigurationManager.AppSettings["ClientValidationEnabled"]; } | |
} | |
public static class Facebook | |
{ | |
public static string AppId | |
{ | |
get { return ConfigurationManager.AppSettings["Facebook:AppId"]; } | |
} | |
public static string AppNamespace | |
{ | |
get { return ConfigurationManager.AppSettings["Facebook:AppNamespace"]; } | |
} | |
public static string AppSecret | |
{ | |
get { return ConfigurationManager.AppSettings["Facebook:AppSecret"]; } | |
} | |
public static string AuthorizationRedirectPath | |
{ | |
get { return ConfigurationManager.AppSettings["Facebook:AuthorizationRedirectPath"]; } | |
} | |
public static class VerifyToken | |
{ | |
public static string User | |
{ | |
get { return ConfigurationManager.AppSettings["Facebook:VerifyToken:User"]; } | |
} | |
} | |
} | |
public static string PreserveLoginUrl | |
{ | |
get { return ConfigurationManager.AppSettings["PreserveLoginUrl"]; } | |
} | |
public static string UnobtrusiveJavaScriptEnabled | |
{ | |
get { return ConfigurationManager.AppSettings["UnobtrusiveJavaScriptEnabled"]; } | |
} | |
public static class Webpages | |
{ | |
public static string Enabled | |
{ | |
get { return ConfigurationManager.AppSettings["webpages:Enabled"]; } | |
} | |
public static string Version | |
{ | |
get { return ConfigurationManager.AppSettings["webpages:Version"]; } | |
} | |
} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment