コード例 #1
0
		public void Init(IKernel kernel, IConfiguration facilityConfig)
		{
			_autoMockingDependencyResolver = new AutoMockingDependencyResolver(_relatedRepository);
			kernel.Resolver.AddSubResolver(_autoMockingDependencyResolver);
		}
コード例 #2
0
 public void Init(IKernel kernel, IConfiguration facilityConfig)
 {
     _autoMockingDependencyResolver = new AutoMockingDependencyResolver(_relatedRepository);
     kernel.Resolver.AddSubResolver(_autoMockingDependencyResolver);
 }