Skip to content

Tharga/Runtime

Repository files navigation

Tharga Runtime

GitHub repo Issues

.NET

NuGet Nuget License

Assembly and TypeService Service

Register the service

public void ConfigureServices(IServiceCollection services)
{
	services.AddAssemblyService();
}

When GetTypes is called the first time, data is stored in cache. All other calls will use that cache.

assemblyService.GetTypes("CacheKey", x => x.IsOfType(typeof([SomeType]), false) && !x.IsAbstract);

Preload cache by calling LoadTypes.

assemblyService.LoadTypes("CacheKey", x => x.IsOfType(typeof([SomeType]), false) && !x.IsAbstract);

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages