Interface IPrivateRefReturnAccessor
Gives access to the non-public ref returns members of a type or instance.
Namespace: Telerik.JustMock
Assembly: Telerik.JustMock.dll
Syntax
public interface IPrivateRefReturnAccessor
Methods
CallMethod<TRefReturn>(String, Object[])
Calls the specified method by name.
Declaration
TRefReturn CallMethod<TRefReturn>(string name, params object[] args)
Parameters
System.String
name
The name of the method to call. |
System.Object[]
args
Arguments to pass to the method. |
Returns
TRefReturn
The ref value returned by the specified method. |
Type Parameters
TRefReturn
Ref return type |
GetProperty<TRefReturn>(String)
Gets the ref return value of a property by name.
Declaration
TRefReturn GetProperty<TRefReturn>(string name)
Parameters
System.String
name
The name of the property. |
Returns
TRefReturn
The value of the property. |
Type Parameters
TRefReturn
Ref return type |