Global

Location

  • Reference:
    • Go.dll  .NET, .NET Standard 2.0
    • Go.fx  Island
  • Namespace: go.html.template
  • Platforms: .NET, .NET Standard 2.0, Island

 

ErrAmbigContext

 

const ErrAmbigContext: ErrorCode = 1;

 

const ErrorCode ErrAmbigContext = 1

 

static let ErrAmbigContext: ErrorCode = 1

 

const ErrAmbigContext ErrorCode = 1

 

Dim ErrAmbigContext As ErrorCode = 1

ErrBadHTML

 

const ErrBadHTML: ErrorCode = 2;

 

const ErrorCode ErrBadHTML = 2

 

static let ErrBadHTML: ErrorCode = 2

 

const ErrBadHTML ErrorCode = 2

 

Dim ErrBadHTML As ErrorCode = 2

ErrBranchEnd

 

const ErrBranchEnd: ErrorCode = 3;

 

const ErrorCode ErrBranchEnd = 3

 

static let ErrBranchEnd: ErrorCode = 3

 

const ErrBranchEnd ErrorCode = 3

 

Dim ErrBranchEnd As ErrorCode = 3

ErrEndContext

 

const ErrEndContext: ErrorCode = 4;

 

const ErrorCode ErrEndContext = 4

 

static let ErrEndContext: ErrorCode = 4

 

const ErrEndContext ErrorCode = 4

 

Dim ErrEndContext As ErrorCode = 4

ErrNoSuchTemplate

 

const ErrNoSuchTemplate: ErrorCode = 5;

 

const ErrorCode ErrNoSuchTemplate = 5

 

static let ErrNoSuchTemplate: ErrorCode = 5

 

const ErrNoSuchTemplate ErrorCode = 5

 

Dim ErrNoSuchTemplate As ErrorCode = 5

ErrOutputContext

 

const ErrOutputContext: ErrorCode = 6;

 

const ErrorCode ErrOutputContext = 6

 

static let ErrOutputContext: ErrorCode = 6

 

const ErrOutputContext ErrorCode = 6

 

Dim ErrOutputContext As ErrorCode = 6

ErrPartialCharset

 

const ErrPartialCharset: ErrorCode = 7;

 

const ErrorCode ErrPartialCharset = 7

 

static let ErrPartialCharset: ErrorCode = 7

 

const ErrPartialCharset ErrorCode = 7

 

Dim ErrPartialCharset As ErrorCode = 7

ErrPartialEscape

 

const ErrPartialEscape: ErrorCode = 8;

 

const ErrorCode ErrPartialEscape = 8

 

static let ErrPartialEscape: ErrorCode = 8

 

const ErrPartialEscape ErrorCode = 8

 

Dim ErrPartialEscape As ErrorCode = 8

ErrPredefinedEscaper

 

const ErrPredefinedEscaper: ErrorCode = 11;

 

const ErrorCode ErrPredefinedEscaper = 11

 

static let ErrPredefinedEscaper: ErrorCode = 11

 

const ErrPredefinedEscaper ErrorCode = 11

 

Dim ErrPredefinedEscaper As ErrorCode = 11

ErrRangeLoopReentry

 

const ErrRangeLoopReentry: ErrorCode = 9;

 

const ErrorCode ErrRangeLoopReentry = 9

 

static let ErrRangeLoopReentry: ErrorCode = 9

 

const ErrRangeLoopReentry ErrorCode = 9

 

Dim ErrRangeLoopReentry As ErrorCode = 9

ErrSlashAmbig

 

const ErrSlashAmbig: ErrorCode = 10;

 

const ErrorCode ErrSlashAmbig = 10

 

static let ErrSlashAmbig: ErrorCode = 10

 

const ErrSlashAmbig ErrorCode = 10

 

Dim ErrSlashAmbig As ErrorCode = 10

HTMLEscape

 

class method HTMLEscape(w: Writer; b: Slice<Byte>)

 

static void HTMLEscape(Writer w, Slice<Byte> b)

 

static func HTMLEscape(_ w: Writer, _ b: Slice<Byte>)

 

func HTMLEscape(w Writer, b Slice<Byte>)

 

Shared Sub HTMLEscape(w As Writer, b As Slice<Byte>)

Parameters:

  • w:
  • b:

HTMLEscaper

 

class method HTMLEscaper(params args: array of Object): string

 

static string HTMLEscaper(params Object[] args)

 

static func HTMLEscaper(_ args: Object...) -> string

 

func HTMLEscaper(args []interface{}) string

 

Shared Function HTMLEscaper(ParamArray args As Object()) As string

Parameters:

  • args:

HTMLEscapeString

 

class method HTMLEscapeString(s: string): string

 

static string HTMLEscapeString(string s)

 

static func HTMLEscapeString(_ s: string) -> string

 

func HTMLEscapeString(s string) string

 

Shared Function HTMLEscapeString(s As string) As string

Parameters:

  • s:

IsTrue

 

class method IsTrue(val: Object): tuple of (truth: Boolean, ok: Boolean)

 

static (Boolean truth, Boolean ok) IsTrue(Object val)

 

static func IsTrue(_ val: Object) -> (Boolean, Boolean)

 

func IsTrue(val interface{}) (truth Boolean, ok Boolean)

 

Shared Function IsTrue(val As Object) As Tuple (Of Boolean, Boolean)

Parameters:

  • val:

JSEscape

 

class method JSEscape(w: Writer; b: Slice<Byte>)

 

static void JSEscape(Writer w, Slice<Byte> b)

 

static func JSEscape(_ w: Writer, _ b: Slice<Byte>)

 

func JSEscape(w Writer, b Slice<Byte>)

 

Shared Sub JSEscape(w As Writer, b As Slice<Byte>)

Parameters:

  • w:
  • b:

JSEscaper

 

class method JSEscaper(params args: array of Object): string

 

static string JSEscaper(params Object[] args)

 

static func JSEscaper(_ args: Object...) -> string

 

func JSEscaper(args []interface{}) string

 

Shared Function JSEscaper(ParamArray args As Object()) As string

Parameters:

  • args:

JSEscapeString

 

class method JSEscapeString(s: string): string

 

static string JSEscapeString(string s)

 

static func JSEscapeString(_ s: string) -> string

 

func JSEscapeString(s string) string

 

Shared Function JSEscapeString(s As string) As string

Parameters:

  • s:

Must

 

// .NET, .NET Standard 2.0
class method Must(t: Reference<Template>; err: error): Reference<Template>
// Island
class method Must(t: Reference<Template>; err: error): Reference<Template>

 

// .NET, .NET Standard 2.0
static Reference<Template> Must(Reference<Template> t, error err)
// Island
static Reference<Template> Must(Reference<Template> t, error err)

 

// .NET, .NET Standard 2.0
static func Must(_ t: Reference<Template>, _ err: error) -> Reference<Template>
// Island
static func Must(_ t: Reference<Template>, _ err: error) -> Reference<Template>

 

// .NET, .NET Standard 2.0
func Must(t Reference<Template>, err error) Reference<Template>
// Island
func Must(t Reference<Template>, err error) Reference<Template>

 

// .NET, .NET Standard 2.0
Shared Function Must(t As Reference<Template>, err As error) As Reference<Template>
// Island
Shared Function Must(t As Reference<Template>, err As error) As Reference<Template>

Parameters:

  • t:
  • err:

New

 

// .NET, .NET Standard 2.0
class method New(name: string): Reference<Template>
// Island
class method New(name: string): Reference<Template>

 

// .NET, .NET Standard 2.0
static Reference<Template> New(string name)
// Island
static Reference<Template> New(string name)

 

// .NET, .NET Standard 2.0
static func New(_ name: string) -> Reference<Template>
// Island
static func New(_ name: string) -> Reference<Template>

 

// .NET, .NET Standard 2.0
func New(name string) Reference<Template>
// Island
func New(name string) Reference<Template>

 

// .NET, .NET Standard 2.0
Shared Function New(name As string) As Reference<Template>
// Island
Shared Function New(name As string) As Reference<Template>

Parameters:

  • name:

OK

 

const OK: ErrorCode = 0;

 

const ErrorCode OK = 0

 

static let OK: ErrorCode = 0

 

const OK ErrorCode = 0

 

Dim OK As ErrorCode = 0

ParseFiles

 

// .NET, .NET Standard 2.0
class method ParseFiles(params filenames: array of string): tuple of (Template, error)
// Island
class method ParseFiles(params filenames: array of string): tuple of (Template, error)

 

// .NET, .NET Standard 2.0
static (Template, error) ParseFiles(params string[] filenames)
// Island
static (Template, error) ParseFiles(params string[] filenames)

 

// .NET, .NET Standard 2.0
static func ParseFiles(_ filenames: string...) -> (Template, error)
// Island
static func ParseFiles(_ filenames: string...) -> (Template, error)

 

func ParseFiles(filenames []string) (Template, error)

 

// .NET, .NET Standard 2.0
Shared Function ParseFiles(ParamArray filenames As string()) As Tuple (Of Template, error)
// Island
Shared Function ParseFiles(ParamArray filenames As string()) As Tuple (Of Template, error)

Parameters:

  • filenames:

ParseGlob

 

// .NET, .NET Standard 2.0
class method ParseGlob(pattern: string): tuple of (Template, error)
// Island
class method ParseGlob(pattern: string): tuple of (Template, error)

 

// .NET, .NET Standard 2.0
static (Template, error) ParseGlob(string pattern)
// Island
static (Template, error) ParseGlob(string pattern)

 

// .NET, .NET Standard 2.0
static func ParseGlob(_ pattern: string) -> (Template, error)
// Island
static func ParseGlob(_ pattern: string) -> (Template, error)

 

func ParseGlob(pattern string) (Template, error)

 

// .NET, .NET Standard 2.0
Shared Function ParseGlob(pattern As string) As Tuple (Of Template, error)
// Island
Shared Function ParseGlob(pattern As string) As Tuple (Of Template, error)

Parameters:

  • pattern:

URLQueryEscaper

 

class method URLQueryEscaper(params args: array of Object): string

 

static string URLQueryEscaper(params Object[] args)

 

static func URLQueryEscaper(_ args: Object...) -> string

 

func URLQueryEscaper(args []interface{}) string

 

Shared Function URLQueryEscaper(ParamArray args As Object()) As string

Parameters:

  • args:

 

ErrAmbigContext

 

const ErrAmbigContext: ErrorCode = 1;

 

const ErrorCode ErrAmbigContext = 1

 

static let ErrAmbigContext: ErrorCode = 1

 

const ErrAmbigContext ErrorCode = 1

 

Dim ErrAmbigContext As ErrorCode = 1

ErrBadHTML

 

const ErrBadHTML: ErrorCode = 2;

 

const ErrorCode ErrBadHTML = 2

 

static let ErrBadHTML: ErrorCode = 2

 

const ErrBadHTML ErrorCode = 2

 

Dim ErrBadHTML As ErrorCode = 2

ErrBranchEnd

 

const ErrBranchEnd: ErrorCode = 3;

 

const ErrorCode ErrBranchEnd = 3

 

static let ErrBranchEnd: ErrorCode = 3

 

const ErrBranchEnd ErrorCode = 3

 

Dim ErrBranchEnd As ErrorCode = 3

ErrEndContext

 

const ErrEndContext: ErrorCode = 4;

 

const ErrorCode ErrEndContext = 4

 

static let ErrEndContext: ErrorCode = 4

 

const ErrEndContext ErrorCode = 4

 

Dim ErrEndContext As ErrorCode = 4

ErrNoSuchTemplate

 

const ErrNoSuchTemplate: ErrorCode = 5;

 

const ErrorCode ErrNoSuchTemplate = 5

 

static let ErrNoSuchTemplate: ErrorCode = 5

 

const ErrNoSuchTemplate ErrorCode = 5

 

Dim ErrNoSuchTemplate As ErrorCode = 5

ErrOutputContext

 

const ErrOutputContext: ErrorCode = 6;

 

const ErrorCode ErrOutputContext = 6

 

static let ErrOutputContext: ErrorCode = 6

 

const ErrOutputContext ErrorCode = 6

 

Dim ErrOutputContext As ErrorCode = 6

ErrPartialCharset

 

const ErrPartialCharset: ErrorCode = 7;

 

const ErrorCode ErrPartialCharset = 7

 

static let ErrPartialCharset: ErrorCode = 7

 

const ErrPartialCharset ErrorCode = 7

 

Dim ErrPartialCharset As ErrorCode = 7

ErrPartialEscape

 

const ErrPartialEscape: ErrorCode = 8;

 

const ErrorCode ErrPartialEscape = 8

 

static let ErrPartialEscape: ErrorCode = 8

 

const ErrPartialEscape ErrorCode = 8

 

Dim ErrPartialEscape As ErrorCode = 8

ErrPredefinedEscaper

 

const ErrPredefinedEscaper: ErrorCode = 11;

 

const ErrorCode ErrPredefinedEscaper = 11

 

static let ErrPredefinedEscaper: ErrorCode = 11

 

const ErrPredefinedEscaper ErrorCode = 11

 

Dim ErrPredefinedEscaper As ErrorCode = 11

ErrRangeLoopReentry

 

const ErrRangeLoopReentry: ErrorCode = 9;

 

const ErrorCode ErrRangeLoopReentry = 9

 

static let ErrRangeLoopReentry: ErrorCode = 9

 

const ErrRangeLoopReentry ErrorCode = 9

 

Dim ErrRangeLoopReentry As ErrorCode = 9

ErrSlashAmbig

 

const ErrSlashAmbig: ErrorCode = 10;

 

const ErrorCode ErrSlashAmbig = 10

 

static let ErrSlashAmbig: ErrorCode = 10

 

const ErrSlashAmbig ErrorCode = 10

 

Dim ErrSlashAmbig As ErrorCode = 10

OK

 

const OK: ErrorCode = 0;

 

const ErrorCode OK = 0

 

static let OK: ErrorCode = 0

 

const OK ErrorCode = 0

 

Dim OK As ErrorCode = 0

 

HTMLEscape

 

class method HTMLEscape(w: Writer; b: Slice<Byte>)

 

static void HTMLEscape(Writer w, Slice<Byte> b)

 

static func HTMLEscape(_ w: Writer, _ b: Slice<Byte>)

 

func HTMLEscape(w Writer, b Slice<Byte>)

 

Shared Sub HTMLEscape(w As Writer, b As Slice<Byte>)

Parameters:

  • w:
  • b:

HTMLEscaper

 

class method HTMLEscaper(params args: array of Object): string

 

static string HTMLEscaper(params Object[] args)

 

static func HTMLEscaper(_ args: Object...) -> string

 

func HTMLEscaper(args []interface{}) string

 

Shared Function HTMLEscaper(ParamArray args As Object()) As string

Parameters:

  • args:

HTMLEscapeString

 

class method HTMLEscapeString(s: string): string

 

static string HTMLEscapeString(string s)

 

static func HTMLEscapeString(_ s: string) -> string

 

func HTMLEscapeString(s string) string

 

Shared Function HTMLEscapeString(s As string) As string

Parameters:

  • s:

IsTrue

 

class method IsTrue(val: Object): tuple of (truth: Boolean, ok: Boolean)

 

static (Boolean truth, Boolean ok) IsTrue(Object val)

 

static func IsTrue(_ val: Object) -> (Boolean, Boolean)

 

func IsTrue(val interface{}) (truth Boolean, ok Boolean)

 

Shared Function IsTrue(val As Object) As Tuple (Of Boolean, Boolean)

Parameters:

  • val:

JSEscape

 

class method JSEscape(w: Writer; b: Slice<Byte>)

 

static void JSEscape(Writer w, Slice<Byte> b)

 

static func JSEscape(_ w: Writer, _ b: Slice<Byte>)

 

func JSEscape(w Writer, b Slice<Byte>)

 

Shared Sub JSEscape(w As Writer, b As Slice<Byte>)

Parameters:

  • w:
  • b:

JSEscaper

 

class method JSEscaper(params args: array of Object): string

 

static string JSEscaper(params Object[] args)

 

static func JSEscaper(_ args: Object...) -> string

 

func JSEscaper(args []interface{}) string

 

Shared Function JSEscaper(ParamArray args As Object()) As string

Parameters:

  • args:

JSEscapeString

 

class method JSEscapeString(s: string): string

 

static string JSEscapeString(string s)

 

static func JSEscapeString(_ s: string) -> string

 

func JSEscapeString(s string) string

 

Shared Function JSEscapeString(s As string) As string

Parameters:

  • s:

Must

 

// .NET, .NET Standard 2.0
class method Must(t: Reference<Template>; err: error): Reference<Template>
// Island
class method Must(t: Reference<Template>; err: error): Reference<Template>

 

// .NET, .NET Standard 2.0
static Reference<Template> Must(Reference<Template> t, error err)
// Island
static Reference<Template> Must(Reference<Template> t, error err)

 

// .NET, .NET Standard 2.0
static func Must(_ t: Reference<Template>, _ err: error) -> Reference<Template>
// Island
static func Must(_ t: Reference<Template>, _ err: error) -> Reference<Template>

 

// .NET, .NET Standard 2.0
func Must(t Reference<Template>, err error) Reference<Template>
// Island
func Must(t Reference<Template>, err error) Reference<Template>

 

// .NET, .NET Standard 2.0
Shared Function Must(t As Reference<Template>, err As error) As Reference<Template>
// Island
Shared Function Must(t As Reference<Template>, err As error) As Reference<Template>

Parameters:

  • t:
  • err:

New

 

// .NET, .NET Standard 2.0
class method New(name: string): Reference<Template>
// Island
class method New(name: string): Reference<Template>

 

// .NET, .NET Standard 2.0
static Reference<Template> New(string name)
// Island
static Reference<Template> New(string name)

 

// .NET, .NET Standard 2.0
static func New(_ name: string) -> Reference<Template>
// Island
static func New(_ name: string) -> Reference<Template>

 

// .NET, .NET Standard 2.0
func New(name string) Reference<Template>
// Island
func New(name string) Reference<Template>

 

// .NET, .NET Standard 2.0
Shared Function New(name As string) As Reference<Template>
// Island
Shared Function New(name As string) As Reference<Template>

Parameters:

  • name:

ParseFiles

 

// .NET, .NET Standard 2.0
class method ParseFiles(params filenames: array of string): tuple of (Template, error)
// Island
class method ParseFiles(params filenames: array of string): tuple of (Template, error)

 

// .NET, .NET Standard 2.0
static (Template, error) ParseFiles(params string[] filenames)
// Island
static (Template, error) ParseFiles(params string[] filenames)

 

// .NET, .NET Standard 2.0
static func ParseFiles(_ filenames: string...) -> (Template, error)
// Island
static func ParseFiles(_ filenames: string...) -> (Template, error)

 

func ParseFiles(filenames []string) (Template, error)

 

// .NET, .NET Standard 2.0
Shared Function ParseFiles(ParamArray filenames As string()) As Tuple (Of Template, error)
// Island
Shared Function ParseFiles(ParamArray filenames As string()) As Tuple (Of Template, error)

Parameters:

  • filenames:

ParseGlob

 

// .NET, .NET Standard 2.0
class method ParseGlob(pattern: string): tuple of (Template, error)
// Island
class method ParseGlob(pattern: string): tuple of (Template, error)

 

// .NET, .NET Standard 2.0
static (Template, error) ParseGlob(string pattern)
// Island
static (Template, error) ParseGlob(string pattern)

 

// .NET, .NET Standard 2.0
static func ParseGlob(_ pattern: string) -> (Template, error)
// Island
static func ParseGlob(_ pattern: string) -> (Template, error)

 

func ParseGlob(pattern string) (Template, error)

 

// .NET, .NET Standard 2.0
Shared Function ParseGlob(pattern As string) As Tuple (Of Template, error)
// Island
Shared Function ParseGlob(pattern As string) As Tuple (Of Template, error)

Parameters:

  • pattern:

URLQueryEscaper

 

class method URLQueryEscaper(params args: array of Object): string

 

static string URLQueryEscaper(params Object[] args)

 

static func URLQueryEscaper(_ args: Object...) -> string

 

func URLQueryEscaper(args []interface{}) string

 

Shared Function URLQueryEscaper(ParamArray args As Object()) As string

Parameters:

  • args: