This file contains hidden or 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
Method: | |
private Task<TextMessage> SendMessageToServiceAsync(TextMessage message) | |
{ | |
var tcs = new TaskCompletionSource<TextMessage>(); | |
SendMessageToService(message, (msg) => tcs.SetResult(msg)); | |
return tcs.Task; | |
} |
This file contains hidden or 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
using System; | |
using System.Collections.Generic; | |
using System.Linq; | |
using System.Text; | |
using System.Runtime.InteropServices; | |
namespace ConsoleApplication8 | |
{ | |
class Program | |
{ |
This file contains hidden or 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
<StyleCopSettings Version="105"> | |
<Parsers> | |
<Parser ParserId="StyleCop.CSharp.CsParser"> | |
<ParserSettings> | |
<BooleanProperty Name="AnalyzeDesignerFiles">False</BooleanProperty> | |
<CollectionProperty Name="GeneratedFileFilters"> | |
<Value>\.g\.cs$</Value> | |
<Value>TemporaryGeneratedFile.*\.cs$</Value> | |
<Value>\.g\.i\.cs$</Value> | |
</CollectionProperty> |
This file contains hidden or 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
{ | |
"global": { | |
"check_for_updates_on_startup": true, | |
"show_in_menu_bar": true, | |
"show_profile_name_in_menu_bar": false | |
}, | |
"profiles": [ | |
{ | |
"complex_modifications": { | |
"parameters": { |
OlderNewer