Base solution for your next web application
Starts in:
01 DAYS
01 HRS
01 MIN
01 SEC

Activities of "hugan"

Well, here is a sample.

This is the test code,that in UnitOfWorkManager_Tests class of Abp.Tests projoect, at row 16 ~ 21:

LocalIocManager.IocContainer.Register(
                Component.For<IUnitOfWorkDefaultOptions>().ImplementedBy<UnitOfWorkDefaultOptions>().LifestyleSingleton(),
                Component.For<ICurrentUnitOfWorkProvider>().ImplementedBy<CallContextCurrentUnitOfWorkProvider>().LifestyleSingleton(),
                Component.For<IUnitOfWorkManager>().ImplementedBy<UnitOfWorkManager>().LifestyleSingleton(),
                Component.For<IUnitOfWork>().UsingFactoryMethod(() => fakeUow).LifestyleSingleton()
                );

but the UnitOfWorkDefaultOptions and UnitOfWorkManager live in Abp project, and is really internal class, such as :

internal class UnitOfWorkDefaultOptions : IUnitOfWorkDefaultOptions
internal class UnitOfWorkManager : IUnitOfWorkManager, ITransientDependency

May be I miss something?

Showing 1 to 1 of 1 entries