コード例 #1
0
ファイル: RavenClient.cs プロジェクト: ryanvalentin/raven-uwp
        protected RavenClient(Dsn dsn, bool captureUnhandled = true)
        {
            Dsn = dsn;

#if NETFX_CORE
            _storage  = new RavenStorageClient();
            _platform = new WindowsPlatformClient();
#endif

            _httpClient = BuildHttpClient();

            if (captureUnhandled)
            {
#if NETFX_CORE
                Application.Current.UnhandledException += Application_UnhandledException;
#endif
            }
        }
コード例 #2
0
ファイル: RavenClient.cs プロジェクト: ryanvalentin/raven-uwp
        protected RavenClient(Dsn dsn, bool captureUnhandled = true)
        {
            Dsn = dsn;

#if NETFX_CORE
            _storage = new RavenStorageClient();
            _platform = new WindowsPlatformClient();
#endif

            _httpClient = BuildHttpClient();

            if (captureUnhandled)
            {
#if NETFX_CORE
                Application.Current.UnhandledException += Application_UnhandledException;
#endif
            }
        }