IProtectedMock(TMock) Interface

Moq

Collapse imageExpand ImageCopy imageCopyHover image
Allows setups to be specified for protected members by using their name as a string, rather than strong-typing them which is not possible due to their visibility.

Namespace: Moq.Protected
Assembly: Moq (in Moq.dll) Version: 4.0.10827.0 (4.0.0.0)

Syntax

C#
public interface IProtectedMock<TMock> : IHideObjectMembers
where TMock : class

Type Parameters

TMock

See Also