コード例 #1
0
 public static CurrentDomainAssemblyFinder CreateInstance()
 {
     if (_instance == null)
     {
         _instance = new CurrentDomainAssemblyFinder();
     }
     return _instance;
 }
コード例 #2
0
 public TransientDependencyTypeFinder()
 {
     AssemblyFinder = new CurrentDomainAssemblyFinder();
 }
コード例 #3
0
 /// <summary>
 /// 初始化一个<see cref="EntityMapperAssemblyFinder"/>类型的新实例
 /// </summary>
 public EntityMapperAssemblyFinder()
 {
     AllAssemblyFinder = new CurrentDomainAssemblyFinder();
 }
コード例 #4
0
 /// <summary>
 /// 初始化一个<see cref="SingletonDependencyTypeFinder"/>类型的新实例
 /// </summary>
 public LifetimeScopeDependencyTypeFinder()
 {
     AssemblyFinder = new CurrentDomainAssemblyFinder();
 }
コード例 #5
0
 /// <summary>
 /// 初始化一个<see cref="SingletonDependencyTypeFinder"/>类型的新实例
 /// </summary>
 public SingletonDependencyTypeFinder()
 {
     AssemblyFinder = new CurrentDomainAssemblyFinder();
 }