Namespace Kros.Utils
Classes
DateTimeProvider
Class for "freezing" date and time to constant value. Usable for example in tests.
Check
Helper class for validating method parameters. Every validation throws some kind of System.ArgumentException if it fails (System.ArgumentException, System.ArgumentNullException, System.ArgumentOutOfRangeException).
Suspender
Class for simple work suspending. It is poosible to suspend work (Suspend()) several times, but in that
case it is necessary to resume (Kros.Utils.Suspender.Resume) it the same number of times. The easiest way of suspending
work is using the using
block.
Interfaces
IDiContainer
Interface for DI (Dependency Injection) container.