Class
AutoMockSettings

Contains settings that modify the auto-mocking container behavior. Create an instance of this class, set all relevant properties and pass it to Telerik.JustMock.AutoMock.MockingContainer..ctor

Definition

Namespace:Telerik.JustMock.AutoMock

Assembly:Telerik.JustMock.dll

Syntax:

cs-api-definition
public class AutoMockSettings : NinjectSettings

Inheritance: objectNinjectSettingsAutoMockSettings

Constructors

AutoMockSettings()

Declaration

cs-api-definition
public AutoMockSettings()

Properties

ConstructorArgTypes

Specifies the constructor overload which should be injected. The constructor to inject will be the one that has the exact same parameter types as this setting's value. If this setting is not specified, the default constructor scoring algorithm will be used to select the most appropriate constructor.

Declaration

cs-api-definition
public Type[] ConstructorArgTypes { get; set; }

Property Value

Type[]

MockBehavior

The behavior of the mocks created by the container.

Declaration

cs-api-definition
public Behavior MockBehavior { get; set; }

Property Value

Behavior