'------------------------------------------------------------------------------
' <auto-generated>
'     This code was generated by a tool.
'     Runtime Version:N.N.NNNNN.N
'
'     Changes to this file may cause incorrect behavior and will be lost if
'     the code is regenerated.
' </auto-generated>
'------------------------------------------------------------------------------

Option Strict Off
Option Explicit On

Imports System

Namespace TestOutput
Public Class ResolveUrl
Public Sub New()
MyBase.New
End Sub
Public Overrides Sub Execute()
WriteLiteral("<a")

WriteAttribute("href", Tuple.Create(" href=""", 2), Tuple.Create("""", 14) _
, Tuple.Create(Tuple.Create("", 9), Tuple.Create(Of System.Object, System.Int32)(Href("~/Foo") _
, 9), False) _
)

WriteLiteral(">Foo</a>"&Global.Microsoft.VisualBasic.ChrW(13)&Global.Microsoft.VisualBasic.ChrW(10)&"<a")

WriteAttribute("href", Tuple.Create(" href=""", 27), Tuple.Create("""", 56) _
, Tuple.Create(Tuple.Create("", 34), Tuple.Create(Of System.Object, System.Int32)(Href("~/Products/") _
, 34), False) _
, Tuple.Create(Tuple.Create("", 45), Tuple.Create(Of System.Object, System.Int32)(product.id _
, 45), False) _
)

WriteLiteral(">")


#ExternalSource("ResolveUrl.vbhtml",2)
                            Write(product.Name)


#End ExternalSource
WriteLiteral("</a>"&Global.Microsoft.VisualBasic.ChrW(13)&Global.Microsoft.VisualBasic.ChrW(10)&"<a")

WriteAttribute("href", Tuple.Create(" href=""", 79), Tuple.Create("""", 115) _
, Tuple.Create(Tuple.Create("", 86), Tuple.Create(Of System.Object, System.Int32)(Href("~/Products/") _
, 86), False) _
, Tuple.Create(Tuple.Create("", 97), Tuple.Create(Of System.Object, System.Int32)(product.id _
, 97), False) _
, Tuple.Create(Tuple.Create("", 108), Tuple.Create("/Detail", 108), True) _
)

WriteLiteral(">Details</a>"&Global.Microsoft.VisualBasic.ChrW(13)&Global.Microsoft.VisualBasic.ChrW(10)&"<a")

WriteAttribute("href", Tuple.Create(" href=""", 132), Tuple.Create("""", 187) _
, Tuple.Create(Tuple.Create("", 139), Tuple.Create(Of System.Object, System.Int32)(Href("~/A+Really(Crazy),Url.Is:This/") _
, 139), False) _
, Tuple.Create(Tuple.Create("", 169), Tuple.Create(Of System.Object, System.Int32)(product.id _
, 169), False) _
, Tuple.Create(Tuple.Create("", 180), Tuple.Create("/Detail", 180), True) _
)

WriteLiteral(">Crazy Url!</a>"&Global.Microsoft.VisualBasic.ChrW(13)&Global.Microsoft.VisualBasic.ChrW(10)&Global.Microsoft.VisualBasic.ChrW(13)&Global.Microsoft.VisualBasic.ChrW(10))


#ExternalSource("ResolveUrl.vbhtml",6)
     


#End ExternalSource
WriteLiteral("    ")

WriteLiteral(""&Global.Microsoft.VisualBasic.ChrW(13)&Global.Microsoft.VisualBasic.ChrW(10)&"        <a")

WriteAttribute("href", Tuple.Create(" href=""", 237), Tuple.Create("""", 249) _
, Tuple.Create(Tuple.Create("", 244), Tuple.Create(Of System.Object, System.Int32)(Href("~/Foo") _
, 244), False) _
)

WriteLiteral(">Foo</a>"&Global.Microsoft.VisualBasic.ChrW(13)&Global.Microsoft.VisualBasic.ChrW(10)&"        <a")

WriteAttribute("href", Tuple.Create(" href=""", 270), Tuple.Create("""", 299) _
, Tuple.Create(Tuple.Create("", 277), Tuple.Create(Of System.Object, System.Int32)(Href("~/Products/") _
, 277), False) _
, Tuple.Create(Tuple.Create("", 288), Tuple.Create(Of System.Object, System.Int32)(product.id _
, 288), False) _
)

WriteLiteral(">")


#ExternalSource("ResolveUrl.vbhtml",9)
                                    Write(product.Name)


#End ExternalSource
WriteLiteral("</a>"&Global.Microsoft.VisualBasic.ChrW(13)&Global.Microsoft.VisualBasic.ChrW(10)&"        <a")

WriteAttribute("href", Tuple.Create(" href=""", 330), Tuple.Create("""", 366) _
, Tuple.Create(Tuple.Create("", 337), Tuple.Create(Of System.Object, System.Int32)(Href("~/Products/") _
, 337), False) _
, Tuple.Create(Tuple.Create("", 348), Tuple.Create(Of System.Object, System.Int32)(product.id _
, 348), False) _
, Tuple.Create(Tuple.Create("", 359), Tuple.Create("/Detail", 359), True) _
)

WriteLiteral(">Details</a>"&Global.Microsoft.VisualBasic.ChrW(13)&Global.Microsoft.VisualBasic.ChrW(10)&"        <a")

WriteAttribute("href", Tuple.Create(" href=""", 391), Tuple.Create("""", 446) _
, Tuple.Create(Tuple.Create("", 398), Tuple.Create(Of System.Object, System.Int32)(Href("~/A+Really(Crazy),Url.Is:This/") _
, 398), False) _
, Tuple.Create(Tuple.Create("", 428), Tuple.Create(Of System.Object, System.Int32)(product.id _
, 428), False) _
, Tuple.Create(Tuple.Create("", 439), Tuple.Create("/Detail", 439), True) _
)

WriteLiteral(">Crazy Url!</a>"&Global.Microsoft.VisualBasic.ChrW(13)&Global.Microsoft.VisualBasic.ChrW(10)&"    ")

WriteLiteral(""&Global.Microsoft.VisualBasic.ChrW(13)&Global.Microsoft.VisualBasic.ChrW(10))


#ExternalSource("ResolveUrl.vbhtml",13)


#End ExternalSource
WriteLiteral(""&Global.Microsoft.VisualBasic.ChrW(13)&Global.Microsoft.VisualBasic.ChrW(10)&Global.Microsoft.VisualBasic.ChrW(13)&Global.Microsoft.VisualBasic.ChrW(10))

DefineSection("Foo", Sub ()

WriteLiteral(""&Global.Microsoft.VisualBasic.ChrW(13)&Global.Microsoft.VisualBasic.ChrW(10)&"    <a")

WriteAttribute("href", Tuple.Create(" href=""", 509), Tuple.Create("""", 521) _
, Tuple.Create(Tuple.Create("", 516), Tuple.Create(Of System.Object, System.Int32)(Href("~/Foo") _
, 516), False) _
)

WriteLiteral(">Foo</a>"&Global.Microsoft.VisualBasic.ChrW(13)&Global.Microsoft.VisualBasic.ChrW(10)&"    <a")

WriteAttribute("href", Tuple.Create(" href=""", 538), Tuple.Create("""", 567) _
, Tuple.Create(Tuple.Create("", 545), Tuple.Create(Of System.Object, System.Int32)(Href("~/Products/") _
, 545), False) _
, Tuple.Create(Tuple.Create("", 556), Tuple.Create(Of System.Object, System.Int32)(product.id _
, 556), False) _
)

WriteLiteral(">")


#ExternalSource("ResolveUrl.vbhtml",17)
                                Write(product.Name)


#End ExternalSource
WriteLiteral("</a>"&Global.Microsoft.VisualBasic.ChrW(13)&Global.Microsoft.VisualBasic.ChrW(10)&"    <a")

WriteAttribute("href", Tuple.Create(" href=""", 594), Tuple.Create("""", 630) _
, Tuple.Create(Tuple.Create("", 601), Tuple.Create(Of System.Object, System.Int32)(Href("~/Products/") _
, 601), False) _
, Tuple.Create(Tuple.Create("", 612), Tuple.Create(Of System.Object, System.Int32)(product.id _
, 612), False) _
, Tuple.Create(Tuple.Create("", 623), Tuple.Create("/Detail", 623), True) _
)

WriteLiteral(">Details</a>"&Global.Microsoft.VisualBasic.ChrW(13)&Global.Microsoft.VisualBasic.ChrW(10)&"    <a")

WriteAttribute("href", Tuple.Create(" href=""", 651), Tuple.Create("""", 706) _
, Tuple.Create(Tuple.Create("", 658), Tuple.Create(Of System.Object, System.Int32)(Href("~/A+Really(Crazy),Url.Is:This/") _
, 658), False) _
, Tuple.Create(Tuple.Create("", 688), Tuple.Create(Of System.Object, System.Int32)(product.id _
, 688), False) _
, Tuple.Create(Tuple.Create("", 699), Tuple.Create("/Detail", 699), True) _
)

WriteLiteral(">Crazy Url!</a>"&Global.Microsoft.VisualBasic.ChrW(13)&Global.Microsoft.VisualBasic.ChrW(10))

End Sub)

End Sub
End Class
End Namespace
