Telerik® JustMock™ by Progress

The NinjectMockSyntaxExtensions type exposes the following members.

Methods

  NameDescription
Public methodStatic memberAndArrange<(Of <<'(T>)>>)
Specifies the arrangements to make before the mock is injected.
Public methodStatic memberInjectedIntoParameter<(Of <<'(T>)>>)
Specifies that the binding should be considered only when injecting into a constructor parameter with the given name.
Public methodStatic memberInjectedIntoProperty<(Of <<'(T>)>>)(IBindingWhenSyntax<(Of <<'(T>)>>), String)
Specifies that the binding should be considered only when injecting into a property with the given name.
Public methodStatic memberInjectedIntoProperty<(Of <<'(T, TTarget, TProperty>)>>)(IBindingWhenSyntax<(Of <<'(T>)>>), Expression<(Of <<'(Func<(Of <(<'T, TResult>)>)>>)>>))
Public methodStatic memberToMock<(Of <<'(T>)>>)
Indicates that the service should be mocked. The mock is activated in the singleton scope.

See Also