@@ -61,9 +61,9 @@ public static TheoryData<object, Type, Func<object>, string, TagHelperOutputCont
61
61
{ modelWithText , typeof ( Model ) , ( ) => modelWithText . Text , "Text" ,
62
62
new TagHelperOutputContent ( string . Empty , "Hello World" , "Hello World" , "Text" ) } ,
63
63
{ modelWithText , typeof ( Model ) , ( ) => modelWithNull . Text , "Text" ,
64
- new TagHelperOutputContent ( "Hello World" , null , null , "Text" ) } ,
64
+ new TagHelperOutputContent ( "Hello World" , null , "Hello World" , "Text" ) } ,
65
65
{ modelWithText , typeof ( Model ) , ( ) => modelWithText . Text , "Text" ,
66
- new TagHelperOutputContent ( "Hello World" , null , null , "Text" ) } ,
66
+ new TagHelperOutputContent ( "Hello World" , null , "Hello World" , "Text" ) } ,
67
67
{ modelWithText , typeof ( Model ) , ( ) => modelWithNull . Text , "Text" ,
68
68
new TagHelperOutputContent ( "Hello World1" , "Hello World2" , "Hello World2" , "Text" ) } ,
69
69
{ modelWithText , typeof ( Model ) , ( ) => modelWithText . Text , "Text" ,
@@ -82,9 +82,9 @@ public static TheoryData<object, Type, Func<object>, string, TagHelperOutputCont
82
82
{ modelWithText , typeof ( NestedModel ) , ( ) => modelWithText . NestedModel . Text , "NestedModel.Text" ,
83
83
new TagHelperOutputContent ( string . Empty , "Hello World" , "Hello World" , "NestedModel_Text" ) } ,
84
84
{ modelWithNull , typeof ( NestedModel ) , ( ) => modelWithNull . NestedModel . Text , "NestedModel.Text" ,
85
- new TagHelperOutputContent ( "Hello World" , null , null , "NestedModel_Text" ) } ,
85
+ new TagHelperOutputContent ( "Hello World" , null , "Hello World" , "NestedModel_Text" ) } ,
86
86
{ modelWithText , typeof ( NestedModel ) , ( ) => modelWithText . NestedModel . Text , "NestedModel.Text" ,
87
- new TagHelperOutputContent ( "Hello World" , null , null , "NestedModel_Text" ) } ,
87
+ new TagHelperOutputContent ( "Hello World" , null , "Hello World" , "NestedModel_Text" ) } ,
88
88
{ modelWithNull , typeof ( NestedModel ) , ( ) => modelWithNull . NestedModel . Text , "NestedModel.Text" ,
89
89
new TagHelperOutputContent ( "Hello World1" , "Hello World2" , "Hello World2" , "NestedModel_Text" ) } ,
90
90
{ modelWithText , typeof ( NestedModel ) , ( ) => modelWithText . NestedModel . Text , "NestedModel.Text" ,
@@ -105,9 +105,9 @@ public static TheoryData<object, Type, Func<object>, string, TagHelperOutputCont
105
105
{ models , typeof ( Model ) , ( ) => models [ 1 ] . Text , "[1].Text" ,
106
106
new TagHelperOutputContent ( string . Empty , "Hello World" , "Hello World" , "z1__Text" ) } ,
107
107
{ models , typeof ( Model ) , ( ) => models [ 0 ] . Text , "[0].Text" ,
108
- new TagHelperOutputContent ( "Hello World" , null , null , "z0__Text" ) } ,
108
+ new TagHelperOutputContent ( "Hello World" , null , "Hello World" , "z0__Text" ) } ,
109
109
{ models , typeof ( Model ) , ( ) => models [ 1 ] . Text , "[1].Text" ,
110
- new TagHelperOutputContent ( "Hello World" , null , null , "z1__Text" ) } ,
110
+ new TagHelperOutputContent ( "Hello World" , null , "Hello World" , "z1__Text" ) } ,
111
111
{ models , typeof ( Model ) , ( ) => models [ 0 ] . Text , "[0].Text" ,
112
112
new TagHelperOutputContent ( "Hello World1" , "Hello World2" , "Hello World2" , "z0__Text" ) } ,
113
113
{ models , typeof ( Model ) , ( ) => models [ 1 ] . Text , "[1].Text" ,
@@ -126,9 +126,9 @@ public static TheoryData<object, Type, Func<object>, string, TagHelperOutputCont
126
126
{ models , typeof ( NestedModel ) , ( ) => models [ 1 ] . NestedModel . Text , "[1].NestedModel.Text" ,
127
127
new TagHelperOutputContent ( string . Empty , "Hello World" , "Hello World" , "z1__NestedModel_Text" ) } ,
128
128
{ models , typeof ( NestedModel ) , ( ) => models [ 0 ] . NestedModel . Text , "[0].NestedModel.Text" ,
129
- new TagHelperOutputContent ( "Hello World" , null , null , "z0__NestedModel_Text" ) } ,
129
+ new TagHelperOutputContent ( "Hello World" , null , "Hello World" , "z0__NestedModel_Text" ) } ,
130
130
{ models , typeof ( NestedModel ) , ( ) => models [ 1 ] . NestedModel . Text , "[1].NestedModel.Text" ,
131
- new TagHelperOutputContent ( "Hello World" , null , null , "z1__NestedModel_Text" ) } ,
131
+ new TagHelperOutputContent ( "Hello World" , null , "Hello World" , "z1__NestedModel_Text" ) } ,
132
132
{ models , typeof ( NestedModel ) , ( ) => models [ 0 ] . NestedModel . Text , "[0].NestedModel.Text" ,
133
133
new TagHelperOutputContent ( "Hello World1" , "Hello World2" , "Hello World2" , "z0__NestedModel_Text" ) } ,
134
134
{ models , typeof ( NestedModel ) , ( ) => models [ 1 ] . NestedModel . Text , "[1].NestedModel.Text" ,
0 commit comments