protected override void ConfigureDependencies(Taupo.Contracts.DependencyInjectionContainer container) { base.ConfigureDependencies(container); container.Register<IProtocolFormatNormalizerSelector, DefaultProtocolFormatNormalizerSelector>(); container.Register<IPayloadElementToJsonConverter, AnnotatedPayloadElementToJsonConverter>(); container.Register<IPayloadElementToJsonLightConverter, AnnotatedPayloadElementToJsonLightConverter>(); container.Register<IEntityModelSchemaComparer, ODataEntityModelSchemaComparer>(); }
/// <summary> /// Configure Dependencies specific to Reader Test Cases /// </summary> /// <param name="container">container to set dependencies on</param> protected override void ConfigureDependencies(Taupo.Contracts.DependencyInjectionContainer container) { base.ConfigureDependencies(container); container.Register<IEntityModelSchemaComparer, TaupoModelComparer>(); container.Register<IODataRequestManager, ODataRequestManager>(); container.Register<IBatchPayloadSerializer, BatchPayloadSerializer>(); container.Register<StackBasedAssertionHandler, DefaultStackBasedAssertionHandler>(); container.Register<IPayloadElementToJsonConverter, AnnotatedPayloadElementToJsonConverter>(); container.Register<IPayloadElementToJsonLightConverter, AnnotatedPayloadElementToJsonLightConverter>(); container.Register<IPayloadGenerator, PayloadGenerator>(); }
/// <summary> /// Configure Dependencies specific to Reader Test Cases /// </summary> /// <param name="container">container to set dependencies on</param> protected override void ConfigureDependencies(Taupo.Contracts.DependencyInjectionContainer container) { base.ConfigureDependencies(container); container.Register<ObjectModelToPayloadElementConverter, ObjectModelToPayloadElementWithPayloadOrderConverter>(); container.RegisterInstance<MessageToObjectModelReader>(new MessageToObjectModelReader(true)); }
/// <summary> /// Does the dependency injection of the BatchPayloadGenerator /// </summary> /// <param name="container">The container to inject the dependencies into.</param> protected override void ConfigureDependencies(Taupo.Contracts.DependencyInjectionContainer container) { base.ConfigureDependencies(container); container.Register<IPayloadGenerator, BatchPayloadGenerator>(); }