From 1aa2613426ac71c563883e3cf7be85308c4b7b86 Mon Sep 17 00:00:00 2001 From: AlexMcBride Date: Sat, 27 Sep 2014 13:41:53 +0100 Subject: [PATCH] Added ContinueOnCapturedContext property to OutClient class. --- InSimDotNet/Out/OutClient.cs | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/InSimDotNet/Out/OutClient.cs b/InSimDotNet/Out/OutClient.cs index 06bc602..f08e46f 100644 --- a/InSimDotNet/Out/OutClient.cs +++ b/InSimDotNet/Out/OutClient.cs @@ -33,6 +33,14 @@ public bool IsConnected { /// public TimeSpan Timeout { get; private set; } + /// + /// Gets or sets whether packet handlers should be marshalled back onto the original context. + /// + public bool ContinueOnCapturedContext { + get { return udpSocket.ContinueOnCapturedContext; } + set { udpSocket.ContinueOnCapturedContext = value; } + } + /// /// Creates a new instance of the class. ///