/// <summary> /// 初始化一个<see cref="ServiceBuildOptions"/>类型的新实例 /// </summary> public ServiceBuildOptions() { AssemblyFinder = new DirectoryAssemblyFinder(); TransientTypeFinder = new TransientDependencyTypeFinder(); ScopeTypeFinder = new ScopeDependencyTypeFinder(); SingletonTypeFinder = new SingletonDependencyTypeFinder(); }
/// <summary> /// 初始化一个<see cref="ControllerTypeFinder"/>类型的新实例 /// </summary> public ControllerTypeFinder() { AssemblyFinder = new DirectoryAssemblyFinder(); }
/// <summary> /// 初始化一个<see cref="HubTypeFinder"/>类型的新实例 /// </summary> public HubTypeFinder() { AssemblyFinder = new DirectoryAssemblyFinder(); }
/// <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(); }
/// <summary> /// 初始化一个<see cref="IocBuilderBase"/>类型的新实例 /// </summary> protected IocBuilderBase() { AssemblyFinder = new DirectoryAssemblyFinder(); }
/// <summary> /// 初始化一个<see cref="SingletonDependencyTypeFinder"/>类型的新实例 /// </summary> public SingletonDependencyTypeFinder() { AssemblyFinder = new DirectoryAssemblyFinder(); }