Skip to content

Repetti Net

Repetti Net

  • Home
    • Home
    • .Net

Unit Testing DateTime.Now

Brian Repetti Feb 27, 2023 0 Comments

Here is a handy class that will help with unit testing any references to DateTime.Now. public static class SystemTime{ public static Func<DateTime> Now = () => DateTime.Now(); public static Func<DateTime>…

Recent Posts

  • WordPress on Flux
  • Unit Testing DateTime.Now
  • Configure Unraid VM for a Ubuntu Server Install
  • Flux Node Useful Commands
  • Basic YARP config to Reverse Proxy Asp.Net Web Forms

Recent Comments

    Archives

    • February 2023
    • January 2023

    Categories

    • Dev
    • Networking
    • WEB3

    Meta

    • Log in
    • Entries feed
    • Comments feed
    • WordPress.org

    You Missed

    WEB3

    WordPress on Flux

    Dev

    Unit Testing DateTime.Now

    Networking

    Configure Unraid VM for a Ubuntu Server Install

    WEB3

    Flux Node Useful Commands

    Repetti Net

    Copyright © All rights reserved | Blogus by Themeansar.