コード例 #1
0
ファイル: App.xaml.cs プロジェクト: rj128x/VotGESOrders2013
		public App() {
			this.Startup += this.Application_Startup;
			this.UnhandledException += this.Application_UnhandledException;
			WebContext webcontext = new WebContext();
			webcontext.Authentication = new System.ServiceModel.DomainServices.Client.ApplicationServices.WindowsAuthentication();

			LoggerContext context = new LoggerContext();
			Logging.Logger.init(context);

			this.ApplicationLifetimeObjects.Add(webcontext);
			
			webcontext.Authentication.LoadUser(OnLoadUser_Completed, null);
			
			InitializeComponent();
		}
コード例 #2
0
ファイル: Logger.cs プロジェクト: rj128x/VotGESOrders2013
		public static void init(LoggerContext context) {
			logger.loggerContext = context;
		}