ClassDisableAutomaticRepositoryResetAttribute
Class
Used to disable the automatic generation of calls to Mock.Reset() in test methods by the profiler.
Definition
Namespace:Telerik.JustMock.Setup
Assembly:Telerik.JustMock.dll
Syntax:
cs-api-definition
[AttributeUsage(AttributeTargets.Method, AllowMultiple = false, Inherited = false)]
public sealed class DisableAutomaticRepositoryResetAttribute : Attribute
Inheritance: objectAttributeDisableAutomaticRepositoryResetAttribute
Inherited Members
Constructors
DisableAutomaticRepositoryResetAttribute()
Declaration
cs-api-definition
public DisableAutomaticRepositoryResetAttribute()
Properties
AllowMocking
Allow the use of the mocking API inside this method. You must explicitly call Mock.Reset() at the end of your test method.