示例#1
0
 public HomeController(IList<ICommandWrapper> commandWrappers)
 {
     this.commandWrappers = commandWrappers;
     oAuthService = new OAuthService();
     offline = Convert.ToBoolean(ConfigurationManager.AppSettings["app:offline"] ?? "false");
     chatUrl = ConfigurationManager.AppSettings["app:chatUrl"] ?? "/chat";
 }
示例#2
0
 public HomeController(IList <ICommandWrapper> commandWrappers)
 {
     this.commandWrappers = commandWrappers;
     oAuthService         = new OAuthService();
     offline = Convert.ToBoolean(ConfigurationManager.AppSettings["app:offline"] ?? "false");
     chatUrl = ConfigurationManager.AppSettings["app:chatUrl"] ?? "/chat";
 }
示例#3
0
 public HomeController()
 {
     commandWrappers = new List <ICommandWrapper>()
     {
         new LoginLoggingCommandWrapper()
     };
     oAuthService = new OAuthService();
 }
示例#4
0
 public HomeController(IList <ICommandWrapper> commandWrappers)
 {
     this.commandWrappers = commandWrappers;
     oAuthService         = new OAuthService();
 }
示例#5
0
 public AuthActionFilter()
 {
     oAuthService = new OAuthService();
     Required     = true;
 }
示例#6
0
 public HomeController()
 {
     commandWrappers = new List<ICommandWrapper>() {new LoginLoggingCommandWrapper()};
     oAuthService = new OAuthService();
 }
示例#7
0
 public HomeController(IList<ICommandWrapper> commandWrappers)
 {
     this.commandWrappers = commandWrappers;
     oAuthService = new OAuthService();
 }
示例#8
0
 public AuthActionFilter()
 {
     oAuthService = new OAuthService();
     Required = true;
 }