示例#1
0
 /// <summary>
 /// 初始化一个<see cref="ServiceBuildOptions"/>类型的新实例
 /// </summary>
 public ServiceBuildOptions()
 {
     AssemblyFinder = new DirectoryAssemblyFinder();
     TransientTypeFinder = new TransientDependencyTypeFinder();
     ScopeTypeFinder = new ScopeDependencyTypeFinder();
     SingletonTypeFinder = new SingletonDependencyTypeFinder();
 }
示例#2
0
 /// <summary>
 /// 初始化一个<see cref="ControllerTypeFinder"/>类型的新实例
 /// </summary>
 public ControllerTypeFinder()
 {
     AssemblyFinder = new DirectoryAssemblyFinder();
 }
示例#3
0
 /// <summary>
 /// 初始化一个<see cref="HubTypeFinder"/>类型的新实例
 /// </summary>
 public HubTypeFinder()
 {
     AssemblyFinder = new DirectoryAssemblyFinder();
 }
示例#4
0
 /// <summary>
 /// 初始化一个<see cref="EntityTypeFinder"/>类型的新实例
 /// </summary>
 public EntityTypeFinder()
 {
     AssemblyFinder = new DirectoryAssemblyFinder();
 }
 /// <summary>
 /// 初始化一个<see cref="ScopeDependencyTypeFinder"/>类型的新实例
 /// </summary>
 public ScopeDependencyTypeFinder()
 {
     AssemblyFinder = new DirectoryAssemblyFinder();
 }
 /// <summary>
 /// 初始化一个<see cref="EntityMapperAssemblyFinder"/>类型的新实例
 /// </summary>
 public EntityMapperAssemblyFinder()
 {
     AllAssemblyFinder = new DirectoryAssemblyFinder();
 }
 /// <summary>
 /// 初始化一个<see cref="TransientDependencyTypeFinder"/>类型的新实例
 /// </summary>
 public TransientDependencyTypeFinder()
 {
     AssemblyFinder = new DirectoryAssemblyFinder();
 }
示例#8
0
 /// <summary>
 /// 初始化一个<see cref="IocBuilderBase"/>类型的新实例
 /// </summary>
 protected IocBuilderBase()
 {
     AssemblyFinder = new DirectoryAssemblyFinder();
 }
 /// <summary>
 /// 初始化一个<see cref="SingletonDependencyTypeFinder"/>类型的新实例
 /// </summary>
 public SingletonDependencyTypeFinder()
 {
     AssemblyFinder = new DirectoryAssemblyFinder();
 }