Example #1
0
        /// <summary>
        /// Specify assemblies to look for in finding implementations for dependency contracts
        /// </summary>
        /// <param name="defaultImplementationSelector"> implementationSelector on which we register implementations from assemblies</param>
        protected override void ConfigureImplementationSelector(Microsoft.Test.Taupo.Contracts.IImplementationSelector defaultImplementationSelector)
        {
            foreach (Assembly assembly in DependencyImplementationAssemblies.GetAssemblies())
            {
                defaultImplementationSelector.AddAssembly(assembly);
            }

            base.ConfigureImplementationSelector(defaultImplementationSelector);
        }
 /// <summary>
 /// Specify assemblies to look for in finding implementations for dependency contracts
 /// </summary>
 /// <param name="defaultImplementationSelector"> implementationSelector on which we register implementations from assemblies</param>
 protected override void ConfigureImplementationSelector(Microsoft.Test.Taupo.Contracts.IImplementationSelector defaultImplementationSelector)
 {
     base.ConfigureImplementationSelector(defaultImplementationSelector);
     defaultImplementationSelector.AddAssembly(typeof(ODataUnitTestModule).Assembly);
 }