#pragma warning disable 1998
 public override async Task ExecuteAsync()
 {
     __ModifyTagHelper  = CreateTagHelper <ModifyTagHelper>();
     __NoneTagHelper    = CreateTagHelper <NoneTagHelper>();
     __AppendTagHelper  = CreateTagHelper <AppendTagHelper>();
     __PrependTagHelper = CreateTagHelper <PrependTagHelper>();
     __ReplaceTagHelper = CreateTagHelper <ReplaceTagHelper>();
 }
Пример #2
0
 #pragma warning disable 1998
 public override async Task ExecuteAsync()
 {
     Instrumentation.BeginContext(27, 2, true);
     WriteLiteral("\r\n");
     Instrumentation.EndContext();
     __tagHelperExecutionContext = __tagHelperScopeManager.Begin("modify");
     __ModifyTagHelper           = CreateTagHelper <ModifyTagHelper>();
     __tagHelperExecutionContext.Add(__ModifyTagHelper);
     StartWritingScope();
     WriteLiteral("\r\n    ");
     __tagHelperExecutionContext = __tagHelperScopeManager.Begin("none");
     __NoneTagHelper             = CreateTagHelper <NoneTagHelper>();
     __tagHelperExecutionContext.Add(__NoneTagHelper);
     __tagHelperExecutionContext.Output = __tagHelperRunner.RunAsync(__tagHelperExecutionContext).Result;
     WriteLiteral(__tagHelperExecutionContext.Output.GenerateStartTag());
     WriteLiteral("\r\n        ");
     __tagHelperExecutionContext = __tagHelperScopeManager.Begin("append");
     __AppendTagHelper           = CreateTagHelper <AppendTagHelper>();
     __tagHelperExecutionContext.Add(__AppendTagHelper);
     __tagHelperExecutionContext.Output = __tagHelperRunner.RunAsync(__tagHelperExecutionContext).Result;
     WriteLiteral(__tagHelperExecutionContext.Output.GenerateStartTag());
     WriteLiteral("\r\n            ");
     __tagHelperExecutionContext = __tagHelperScopeManager.Begin("prepend");
     __PrependTagHelper          = CreateTagHelper <PrependTagHelper>();
     __tagHelperExecutionContext.Add(__PrependTagHelper);
     __tagHelperExecutionContext.Output = __tagHelperRunner.RunAsync(__tagHelperExecutionContext).Result;
     WriteLiteral(__tagHelperExecutionContext.Output.GenerateStartTag());
     WriteLiteral(__tagHelperExecutionContext.Output.GenerateContent());
     WriteLiteral("\r\n                ");
     __tagHelperExecutionContext = __tagHelperScopeManager.Begin("replace");
     __ReplaceTagHelper          = CreateTagHelper <ReplaceTagHelper>();
     __tagHelperExecutionContext.Add(__ReplaceTagHelper);
     __tagHelperExecutionContext.Output = __tagHelperRunner.RunAsync(__tagHelperExecutionContext).Result;
     WriteLiteral(__tagHelperExecutionContext.Output.GenerateStartTag());
     WriteLiteral(__tagHelperExecutionContext.Output.GenerateContent());
     WriteLiteral(__tagHelperExecutionContext.Output.GenerateEndTag());
     __tagHelperExecutionContext = __tagHelperScopeManager.End();
     WriteLiteral("\r\n            ");
     WriteLiteral(__tagHelperExecutionContext.Output.GenerateEndTag());
     __tagHelperExecutionContext = __tagHelperScopeManager.End();
     WriteLiteral("\r\n        ");
     WriteLiteral(__tagHelperExecutionContext.Output.GenerateContent());
     WriteLiteral(__tagHelperExecutionContext.Output.GenerateEndTag());
     __tagHelperExecutionContext = __tagHelperScopeManager.End();
     WriteLiteral("\r\n    ");
     WriteLiteral(__tagHelperExecutionContext.Output.GenerateEndTag());
     __tagHelperExecutionContext = __tagHelperScopeManager.End();
     WriteLiteral("\r\n");
     __tagHelperStringValueBuffer       = EndWritingScope();
     __tagHelperExecutionContext.Output = __tagHelperRunner.RunAsync(__tagHelperExecutionContext, __tagHelperStringValueBuffer).Result;
     WriteLiteral(__tagHelperExecutionContext.Output.GenerateStartTag());
     WriteLiteral(__tagHelperExecutionContext.Output.GenerateContent());
     WriteLiteral(__tagHelperExecutionContext.Output.GenerateEndTag());
     __tagHelperExecutionContext = __tagHelperScopeManager.End();
 }