-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #63 from ChartIQ/7.2dotnetseedupdate
7.2 dotnet-seed updates
- Loading branch information
Showing
37 changed files
with
839 additions
and
256 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,25 +1,38 @@ | ||
using System; | ||
using System.Collections.Generic; | ||
using System.Configuration; | ||
using System.Data; | ||
using System.Diagnostics; | ||
using System.Linq; | ||
using System.Threading.Tasks; | ||
using System.Windows; | ||
|
||
namespace AuthenticationExample | ||
{ | ||
/// <summary> | ||
/// Interaction logic for App.xaml | ||
/// </summary> | ||
public partial class App : Application | ||
{ | ||
protected override void OnStartup(StartupEventArgs e) | ||
{ | ||
/// <summary> | ||
/// Interaction logic for App.xaml | ||
/// </summary> | ||
public partial class App : Application | ||
{ | ||
protected override void OnStartup(StartupEventArgs e) | ||
{ | ||
#if DEBUG | ||
Debugger.Launch(); | ||
#endif | ||
var mainWindow = new MainWindow(e.Args); | ||
} | ||
} | ||
|
||
#if LOGGING && TRACE | ||
TextWriterTraceListener logger = new TextWriterTraceListener("Finsemble.log"); | ||
logger.TraceOutputOptions = TraceOptions.DateTime; | ||
|
||
Trace.Listeners.Add(logger); | ||
Trace.AutoFlush = true; | ||
Trace.TraceInformation("Logging started"); | ||
#endif | ||
try | ||
{ | ||
var mainWindow = new MainWindow(e.Args); // send command line arguments to main window. | ||
} | ||
catch (Exception ex) | ||
{ | ||
Trace.TraceError(ex.ToString()); | ||
Trace.TraceInformation("Shutting down"); | ||
this.Shutdown(); | ||
} | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,46 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<packages> | ||
<package id="DotNetZip" version="1.16.0" targetFramework="net452" /> | ||
<package id="Finsemble" version="7.1.1" targetFramework="net452" /> | ||
<package id="Finsemble" version="7.2.0" targetFramework="net452" /> | ||
<package id="Microsoft.IdentityModel.Logging" version="6.16.0" targetFramework="net452" /> | ||
<package id="Microsoft.IdentityModel.Tokens" version="6.16.0" targetFramework="net452" /> | ||
<package id="Microsoft.NETCore.Platforms" version="1.1.0" targetFramework="net452" /> | ||
<package id="NETStandard.Library" version="1.6.1" targetFramework="net452" /> | ||
<package id="Newtonsoft.Json" version="13.0.1" targetFramework="net452" /> | ||
<package id="PInvoke.Windows.Core" version="0.6.49" targetFramework="net452" /> | ||
<package id="Polly" version="7.2.3" targetFramework="net452" /> | ||
<package id="SuperSocket.ClientEngine.Core" version="0.10.0" targetFramework="net452" /> | ||
<package id="System.Collections" version="4.3.0" targetFramework="net452" /> | ||
<package id="System.Collections.Concurrent" version="4.3.0" targetFramework="net452" /> | ||
<package id="System.Collections.Immutable" version="1.7.0" targetFramework="net452" /> | ||
<package id="System.Diagnostics.Debug" version="4.3.0" targetFramework="net452" /> | ||
<package id="System.Diagnostics.Tools" version="4.3.0" targetFramework="net452" /> | ||
<package id="System.Diagnostics.Tracing" version="4.3.0" targetFramework="net452" /> | ||
<package id="System.Globalization" version="4.3.0" targetFramework="net452" /> | ||
<package id="System.IO" version="4.3.0" targetFramework="net452" /> | ||
<package id="System.IO.Compression" version="4.3.0" targetFramework="net452" /> | ||
<package id="System.Linq" version="4.3.0" targetFramework="net452" /> | ||
<package id="System.Linq.Expressions" version="4.3.0" targetFramework="net452" /> | ||
<package id="System.Net.Http" version="4.3.4" targetFramework="net452" /> | ||
<package id="System.Net.Primitives" version="4.3.0" targetFramework="net452" /> | ||
<package id="System.ObjectModel" version="4.3.0" targetFramework="net452" /> | ||
<package id="System.Reflection" version="4.3.0" targetFramework="net452" /> | ||
<package id="System.Reflection.Extensions" version="4.3.0" targetFramework="net452" /> | ||
<package id="System.Reflection.Primitives" version="4.3.0" targetFramework="net452" /> | ||
<package id="System.Resources.ResourceManager" version="4.3.0" targetFramework="net452" /> | ||
<package id="System.Runtime" version="4.3.0" targetFramework="net452" /> | ||
<package id="System.Runtime.Extensions" version="4.3.0" targetFramework="net452" /> | ||
<package id="System.Runtime.InteropServices" version="4.3.0" targetFramework="net452" /> | ||
<package id="System.Runtime.InteropServices.RuntimeInformation" version="4.3.0" targetFramework="net452" /> | ||
<package id="System.Runtime.Numerics" version="4.3.0" targetFramework="net452" /> | ||
<package id="System.Text.Encoding" version="4.3.0" targetFramework="net452" /> | ||
<package id="System.Text.Encoding.Extensions" version="4.3.0" targetFramework="net452" /> | ||
<package id="System.Text.RegularExpressions" version="4.3.1" targetFramework="net452" /> | ||
<package id="System.Threading" version="4.3.0" targetFramework="net452" /> | ||
<package id="System.Threading.Tasks" version="4.3.0" targetFramework="net452" /> | ||
<package id="System.Threading.Timer" version="4.3.0" targetFramework="net452" /> | ||
<package id="System.ValueTuple" version="4.5.0" targetFramework="net452" /> | ||
<package id="System.Xml.ReaderWriter" version="4.3.0" targetFramework="net452" /> | ||
<package id="System.Xml.XDocument" version="4.3.0" targetFramework="net452" /> | ||
<package id="WebSocket4Net" version="0.15.2" targetFramework="net452" /> | ||
</packages> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,36 +1,50 @@ | ||
using ChartIQ.Finsemble; | ||
using System; | ||
using System.Diagnostics; | ||
using System.Windows; | ||
|
||
namespace FDC3WPFExample | ||
{ | ||
/// <summary> | ||
/// Interaction logic for App.xaml | ||
/// </summary> | ||
public partial class App : Application | ||
{ | ||
private MainWindow mainWindow = null; | ||
|
||
protected override void OnStartup(StartupEventArgs e) | ||
{ | ||
Debug.Print("OnStartup"); | ||
/// <summary> | ||
/// Interaction logic for App.xaml | ||
/// </summary> | ||
public partial class App : Application | ||
{ | ||
private MainWindow mainWindow = null; | ||
|
||
protected override void OnStartup(StartupEventArgs e) | ||
{ | ||
#if DEBUG | ||
Debugger.Launch(); | ||
#endif | ||
mainWindow = new MainWindow(e.Args); // send command line arguments to main window. | ||
} | ||
|
||
private void Application_DispatcherUnhandledException(object sender, System.Windows.Threading.DispatcherUnhandledExceptionEventArgs e) | ||
{ | ||
#if DEBUG | ||
Debugger.Launch(); | ||
#if LOGGING && TRACE | ||
TextWriterTraceListener logger = new TextWriterTraceListener("Finsemble.log"); | ||
logger.TraceOutputOptions = TraceOptions.DateTime; | ||
|
||
Trace.Listeners.Add(logger); | ||
Trace.AutoFlush = true; | ||
Trace.TraceInformation("Logging started"); | ||
#endif | ||
try | ||
{ | ||
mainWindow = new MainWindow(e.Args); // send command line arguments to main window. | ||
} | ||
catch (Exception ex) | ||
{ | ||
Trace.TraceError(ex.ToString()); | ||
Trace.TraceInformation("Shutting down"); | ||
this.Shutdown(); | ||
} | ||
} | ||
|
||
Finsemble.DispatcherUnhandledException(mainWindow, e); | ||
private void Application_DispatcherUnhandledException(object sender, System.Windows.Threading.DispatcherUnhandledExceptionEventArgs e) | ||
{ | ||
Finsemble.DispatcherUnhandledException(mainWindow, e); | ||
|
||
Debug.Print($"An Unhandled Exception has occurred. Exception: {e.Exception}"); | ||
Shutdown(); | ||
} | ||
} | ||
Trace.TraceError($"An Unhandled Exception has occurred. Exception: {e.Exception}"); | ||
Trace.TraceInformation("Shutting down"); | ||
Shutdown(); | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,44 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<packages> | ||
<package id="DotNetZip" version="1.16.0" targetFramework="net452" /> | ||
<package id="Finsemble" version="7.1.1" targetFramework="net452" /> | ||
<package id="Finsemble" version="7.2.0" targetFramework="net452" /> | ||
<package id="Microsoft.IdentityModel.Logging" version="6.16.0" targetFramework="net452" /> | ||
<package id="Microsoft.IdentityModel.Tokens" version="6.16.0" targetFramework="net452" /> | ||
<package id="Microsoft.NETCore.Platforms" version="1.1.0" targetFramework="net452" /> | ||
<package id="NETStandard.Library" version="1.6.1" targetFramework="net452" /> | ||
<package id="Newtonsoft.Json" version="13.0.1" targetFramework="net452" /> | ||
<package id="PInvoke.Windows.Core" version="0.6.49" targetFramework="net452" /> | ||
<package id="SuperSocket.ClientEngine.Core" version="0.10.0" targetFramework="net452" /> | ||
<package id="WebSocket4Net" version="0.15.2" targetFramework="net452" /> | ||
<package id="Polly" version="7.2.3" targetFramework="net452" /> | ||
<package id="System.Collections" version="4.3.0" targetFramework="net452" /> | ||
<package id="System.Collections.Concurrent" version="4.3.0" targetFramework="net452" /> | ||
<package id="System.Collections.Immutable" version="1.7.0" targetFramework="net452" /> | ||
<package id="System.Diagnostics.Debug" version="4.3.0" targetFramework="net452" /> | ||
<package id="System.Diagnostics.Tools" version="4.3.0" targetFramework="net452" /> | ||
<package id="System.Diagnostics.Tracing" version="4.3.0" targetFramework="net452" /> | ||
<package id="System.Globalization" version="4.3.0" targetFramework="net452" /> | ||
<package id="System.IO" version="4.3.0" targetFramework="net452" /> | ||
<package id="System.IO.Compression" version="4.3.0" targetFramework="net452" /> | ||
<package id="System.Linq" version="4.3.0" targetFramework="net452" /> | ||
<package id="System.Linq.Expressions" version="4.3.0" targetFramework="net452" /> | ||
<package id="System.Net.Http" version="4.3.4" targetFramework="net452" /> | ||
<package id="System.Net.Primitives" version="4.3.0" targetFramework="net452" /> | ||
<package id="System.ObjectModel" version="4.3.0" targetFramework="net452" /> | ||
<package id="System.Reflection" version="4.3.0" targetFramework="net452" /> | ||
<package id="System.Reflection.Extensions" version="4.3.0" targetFramework="net452" /> | ||
<package id="System.Reflection.Primitives" version="4.3.0" targetFramework="net452" /> | ||
<package id="System.Resources.ResourceManager" version="4.3.0" targetFramework="net452" /> | ||
<package id="System.Runtime" version="4.3.0" targetFramework="net452" /> | ||
<package id="System.Runtime.Extensions" version="4.3.0" targetFramework="net452" /> | ||
<package id="System.Runtime.InteropServices" version="4.3.0" targetFramework="net452" /> | ||
<package id="System.Runtime.InteropServices.RuntimeInformation" version="4.3.0" targetFramework="net452" /> | ||
<package id="System.Runtime.Numerics" version="4.3.0" targetFramework="net452" /> | ||
<package id="System.Text.Encoding" version="4.3.0" targetFramework="net452" /> | ||
<package id="System.Text.Encoding.Extensions" version="4.3.0" targetFramework="net452" /> | ||
<package id="System.Text.RegularExpressions" version="4.3.1" targetFramework="net452" /> | ||
<package id="System.Threading" version="4.3.0" targetFramework="net452" /> | ||
<package id="System.Threading.Tasks" version="4.3.0" targetFramework="net452" /> | ||
<package id="System.Threading.Timer" version="4.3.0" targetFramework="net452" /> | ||
<package id="System.ValueTuple" version="4.5.0" targetFramework="net452" /> | ||
<package id="System.Xml.ReaderWriter" version="4.3.0" targetFramework="net452" /> | ||
<package id="System.Xml.XDocument" version="4.3.0" targetFramework="net452" /> | ||
</packages> |
Oops, something went wrong.