Returning Different Values From A Method Call

Ever needed to return different values from a method call without exposing an enumerator? Let’s explore some options.

July 28, 2020 · 3 min

Why I love Resharper 2

Looking at another constructor parameter checking option when passing in an enum value.

July 21, 2020 · 2 min

Optional Dependencies with Autofac

Ever wanted to define a dependency as optional and only be loaded depending on consumption of your service?

June 30, 2020 · 6 min

Refactoring and Learning Challange

Taking up the challenge from a tweet I explain my thought process on improving some code which will hopefully help someone.

June 23, 2020 · 6 min

Using Moq Callback to set values to drive tests

How to set a value on an object passed to a mock to drive conditional logic further in the system under test

June 23, 2020 · 3 min