HostType.

UnitTestHost Field

Summary

This is a unit test context This is so that conventions can avoid adding behaviors that might cause issues with unit testing such as writing to the console or debug pipes, or ensuring that something is configured in a correct way for testing. Careful consideration is needed to make sure that your system doesn't behave extremely differently in a live scenario vs a testing scenario

Syntax

public const HostType UnitTestHost

Constant Value

Value Type
2 Int32