Skip to content

Commit

Permalink
Added ContinueOnCapturedContext property to OutClient class.
Browse files Browse the repository at this point in the history
  • Loading branch information
alexmcbride committed Sep 27, 2014
1 parent c56f096 commit 1aa2613
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions InSimDotNet/Out/OutClient.cs
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,14 @@ public bool IsConnected {
/// </summary>
public TimeSpan Timeout { get; private set; }

/// <summary>
/// Gets or sets whether packet handlers should be marshalled back onto the original context.
/// </summary>
public bool ContinueOnCapturedContext {
get { return udpSocket.ContinueOnCapturedContext; }
set { udpSocket.ContinueOnCapturedContext = value; }
}

/// <summary>
/// Creates a new instance of the <see cref="OutClient"/> class.
/// </summary>
Expand Down

0 comments on commit 1aa2613

Please sign in to comment.