Contains a .NET version and a Standard version.
- All features from the standard package
- Assembly and TypeService Service
- Compare
- ManagedTimer
- DateTimeExtensions
- ListExtensions
- HashExtensions
- EnumExtensions
- Enumeration
- Luhn
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);
- AssignmentExtension
- DependencyTest