protected DefaultProjectFileProvider GetProjectFileProvider(DetectorOptions options = null) { options = options ?? new DetectorOptions(); var providers = new IProjectFileProvider[] { new ExplicitProjectFileProvider( Options.Create(options), NullLogger <ExplicitProjectFileProvider> .Instance), new RootDirectoryProjectFileProvider(NullLogger <RootDirectoryProjectFileProvider> .Instance), new ProbeAndFindProjectFileProvider( NullLogger <ProbeAndFindProjectFileProvider> .Instance, Options.Create(options)), }; return(new DefaultProjectFileProvider(providers)); }
protected DefaultProjectFileProvider GetProjectFileProvider( DotNetCoreScriptGeneratorOptions options = null) { if (options == null) { options = new DotNetCoreScriptGeneratorOptions(); } var providers = new IProjectFileProvider[] { new ExplicitProjectFileProvider( Options.Create(options), NullLogger <ExplicitProjectFileProvider> .Instance), new RootDirectoryProjectFileProvider(NullLogger <RootDirectoryProjectFileProvider> .Instance), new ProbeAndFindProjectFileProvider(NullLogger <ProbeAndFindProjectFileProvider> .Instance), }; return(new DefaultProjectFileProvider(providers)); }
public AppDomainTypeFinder(IProjectFileProvider fileProvider = null) { this._fileProvider = fileProvider ?? CommonHelper.DefaultFileProvider; }
public WebAppTypeFinder(IProjectFileProvider fileProvider = null) : base(fileProvider) { }