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 } }
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 } }