Out with MagicOnion, in with LiteNetLib
Removed MagicOnion Added LiteNetLib Created client and server abstractions Fixed serialization bugs
This commit is contained in:
parent
433a7b4ae4
commit
e96146b7bb
869 changed files with 59401 additions and 16812 deletions
|
|
@ -0,0 +1,25 @@
|
|||
#pragma warning disable 1591 // Missing XML comment for publicly visible type or member
|
||||
|
||||
using Newtonsoft.Json.Linq;
|
||||
|
||||
namespace RethinkDb.Driver.Model
|
||||
{
|
||||
public class Backtrace
|
||||
{
|
||||
public JArray RawBacktrace { get; }
|
||||
|
||||
private Backtrace(JArray rawBacktrace)
|
||||
{
|
||||
this.RawBacktrace = rawBacktrace;
|
||||
}
|
||||
|
||||
public static Backtrace FromJsonArray(JArray rawBacktrace)
|
||||
{
|
||||
if( rawBacktrace == null || rawBacktrace.Count == 0 )
|
||||
{
|
||||
return null;
|
||||
}
|
||||
return new Backtrace(rawBacktrace);
|
||||
}
|
||||
}
|
||||
}
|
||||
Loading…
Reference in a new issue