Skip to content

Commit 5e40fe7

Browse files
author
Elad Zelingher
committed
Fixing #115
1 parent a89976d commit 5e40fe7

File tree

3 files changed

+11
-1
lines changed

3 files changed

+11
-1
lines changed

src/net45/WampSharp.WAMP1/WAMP1/V1/Api/Server/WampRequestContext.cs

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,13 @@
1-
using System.Runtime.Remoting.Messaging;
1+
using System;
2+
using System.Runtime.Remoting.Messaging;
23
using WampSharp.V1.Core.Contracts;
34
using WampSharp.V1.Cra;
45

56
namespace WampSharp.V1
67
{
8+
#if !PCL
9+
[Serializable]
10+
#endif
711
public class WampRequestContext
812
{
913
#region Static Members

src/net45/WampSharp/WAMP2/V2/Api/WampEventContext.cs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,9 @@ namespace WampSharp.V2
99
/// <summary>
1010
/// Includes information about the current event.
1111
/// </summary>
12+
#if !PCL
13+
[Serializable]
14+
#endif
1215
public class WampEventContext
1316
{
1417

src/net45/WampSharp/WAMP2/V2/Api/WampInvocationContext.cs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,9 @@ namespace WampSharp.V2
1010
/// <summary>
1111
/// Includes information about the current invocation.
1212
/// </summary>
13+
#if !PCL
14+
[Serializable]
15+
#endif
1316
public class WampInvocationContext
1417
{
1518
#region Static Members

0 commit comments

Comments
 (0)