コード例 #1
0
ファイル: Program.cs プロジェクト: RozenbergMikhail/Optimum
		// 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;
 }