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
| namespace Demo | |
| { | |
| using System; | |
| using System.Collections.Concurrent; | |
| using System.Runtime.Remoting.Messaging; | |
| using Microsoft.Practices.Unity; | |
| using Microsoft.ServiceBus.Messaging; | |
| public interface IMessageScopeManager |
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
| namespace IntegrationTests | |
| { | |
| using System; | |
| using System.Data.SqlClient; | |
| using System.IO; | |
| using Xunit; | |
| public class DatabaseFixture : IDisposable | |
| { |
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
| type CompactCosmosSerializer() = | |
| inherit CosmosSerializer() | |
| let defaultEncoding = new UTF8Encoding(false, true) | |
| let jsonSerializerSettings = new JsonSerializerSettings() | |
| do jsonSerializerSettings.Converters <- [| CompactUnionJsonConverter(true) |] | |
| let serializer = JsonSerializer.Create(jsonSerializerSettings) | |
| override u.FromStream<'T>(stream: Stream): 'T = | |
| let returnCastedStream() = |