Telerik® JustMock™ by Progress

Specifies that the binding should be considered only when injecting into a property with the given name.

Namespace: Telerik.JustMock.AutoMock
Assembly: Telerik.JustMock (in Telerik.JustMock.dll) Version: 2013.3.1021.0 (2013.3.1021.0)


public static IBindingInNamedWithOrOnSyntax<T> InjectedIntoProperty<T>(
	this IBindingWhenSyntax<T> builder,
	string propertyName
Visual Basic
<ExtensionAttribute> _
Public Shared Function InjectedIntoProperty(Of T) ( _
	builder As IBindingWhenSyntax(Of T), _
	propertyName As String _
) As IBindingInNamedWithOrOnSyntax(Of T)


Type: IBindingWhenSyntax<(Of <(<'T>)>)>
The fluent syntax.
Type: System..::..String
The name of the property.

Type Parameters

The service type.

Return Value

The fluent syntax.

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type IBindingWhenSyntax<(Of <(<'T>)>)>. When you use instance method syntax to call this method, omit the first parameter. For more information, see Extension Methods (Visual Basic) or Extension Methods (C# Programming Guide).

See Also