PropertyExpressionEngineTest.CreateFromObject_Should_Return_Correctly_For_Attribute_Values Method

<TestCase(123, "123")> _ 
<TestCase(true, "True")> _ 
<TestCase("zyx321", "zyx321")> _ 
Public Sub CreateFromObject_Should_Return_Correctly_For_Attribute_Values( _ 
ByVal value As Object, _ 
ByVal expected As String
)
This language is not supported or no code example is available.
[TestCase(123, "123")] 
[TestCase(true, "True")] 
[TestCase("zyx321", "zyx321")] 
public void CreateFromObject_Should_Return_Correctly_For_Attribute_Values( 
object value
string expected 
)
This language is not supported or no code example is available.
[TestCase(123, "123")] 
[TestCase(true, "True")] 
[TestCase("zyx321", "zyx321")] 
public:  
void CreateFromObject_Should_Return_Correctly_For_Attribute_Values( 
object^ value
String^ expected 
)
This language is not supported or no code example is available.
public  
TestCase(123, "123") 
TestCase(true, "True") 
TestCase("zyx321", "zyx321") 
function CreateFromObject_Should_Return_Correctly_For_Attribute_Values( 
value : object
expected : String 
);
This language is not supported or no code example is available.

Parameters

value
object

expected
string

.NET Framework

Supported in: 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1

In this article

Definition