|
|
@ -7,6 +7,5 @@ public class CacheAutofacModule : Module
|
|
|
|
protected override void Load(ContainerBuilder builder)
|
|
|
|
protected override void Load(ContainerBuilder builder)
|
|
|
|
{
|
|
|
|
{
|
|
|
|
builder.RegisterType<CacheStoragePath>().As<ICacheStoragePath>();
|
|
|
|
builder.RegisterType<CacheStoragePath>().As<ICacheStoragePath>();
|
|
|
|
// builder.RegisterGeneric(typeof(CachePersister<>)).As(typeof(ICachePersister<>));
|
|
|
|
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|