My favorites | Sign in
Project Home Downloads Wiki Issues Source
Project Information
Members
Featured
Downloads
Links

Provides interfaces and wrapper implementations for a small subset of the .NET BCL to allow mocking.

Provides:

  • IConsoleWrapper a wrapper around System.Console
  • IFileSystemWrapper and friends which provides a (fairly light) abstraction of some of the file system classes. Currently this supports relatively limited read only access.
  • ITimeSource which provides the current local and UTC time as a substitute for calling DateTime.Now and DateTime.UtcNow directly.

Abstract2ion consists of a single assembly with no dependencies other than on the .NET Framework.

Powered by Google Project Hosting