Пример #1
0
		// TODO: ASP.NET will instantiate this controller if a proper ControllerFactory is registered
		public SampleController(ISampleContextProvider contextProvider, ICurrentUserTokenProvider currentUserTokenProvider, ISampleUserTokenFactory sampleUserTokenFactory, IConsoleProvider consoleProvider)
		{
			this.contextProvider = contextProvider;
			this.currentUserTokenProvider = currentUserTokenProvider;
			this.sampleUserTokenFactory = sampleUserTokenFactory;
			this.consoleProvider = consoleProvider;
		}
Пример #2
0
 // TODO: ASP.NET will instantiate this controller if a proper ControllerFactory is registered
 public SampleController(ISampleContextProvider contextProvider, ICurrentUserTokenProvider currentUserTokenProvider, ISampleUserTokenFactory sampleUserTokenFactory, IConsoleProvider consoleProvider)
 {
     this.contextProvider          = contextProvider;
     this.currentUserTokenProvider = currentUserTokenProvider;
     this.sampleUserTokenFactory   = sampleUserTokenFactory;
     this.consoleProvider          = consoleProvider;
 }