Skip to content

ISpecularProvider Methods

InterfaceMethods3 members
A provider that gets a list of assemblies for a given context
GetAssemblies(Action<IReflectionAssemblySelector>, int, string, string)Section titled GetAssemblies(Action<IReflectionAssemblySelector>, int, string, string)abstractIEnumerable<Assembly>
Get the full list of assemblies
public interface ISpecularProvider
{
public abstract IEnumerable<Assembly> GetAssemblies(
Action<IReflectionAssemblySelector> action,
int lineNumber = 0,
string filePath = "",
string argumentExpression = "")
{
// ...
}
}
actionAction<IReflectionAssemblySelector>
lineNumberintoptional
filePathstringoptional
argumentExpressionstringoptional
IEnumerable<Assembly>IEnumerable{Assembly}.
GetTypes(Func<IReflectionTypeSelector, IEnumerable<Type>>, int, string, string)Section titled GetTypes(Func<IReflectionTypeSelector, IEnumerable<Type>>, int, string, string)abstractIEnumerable<Type>
Get the full list of types using the given selector
public interface ISpecularProvider
{
public abstract IEnumerable<Type> GetTypes(
Func<IReflectionTypeSelector, IEnumerable<Type>> selector,
int lineNumber = 0,
string filePath = "",
string argumentExpression = "")
{
// ...
}
}
selectorFunc<IReflectionTypeSelector, IEnumerable<Type>>
lineNumberintoptional
filePathstringoptional
argumentExpressionstringoptional
IEnumerable<Type>IEnumerable{Type}.
Scan(IServiceCollection, Action<IServiceDescriptorAssemblySelector>, int, string, string)Section titled Scan(IServiceCollection, Action<IServiceDescriptorAssemblySelector>, int, string, string)abstractIServiceCollection
Scan for types using the given selector
public interface ISpecularProvider
{
public abstract IServiceCollection Scan(
IServiceCollection services,
Action<IServiceDescriptorAssemblySelector> selector,
int lineNumber = 0,
string filePath = "",
string argumentExpression = "")
{
// ...
}
}
servicesIServiceCollection
selectorAction<IServiceDescriptorAssemblySelector>
lineNumberintoptional
filePathstringoptional
argumentExpressionstringoptional
IServiceCollectionIEnumerable{Type}.