C# Class Veil.Helpers

Datei anzeigen Open project: namics/TerrificNet

Public Methods

Method Description
Boolify ( object o ) : bool
CheckNotNull ( string message, object obj, SyntaxTreeNode node ) : void
CheckNull ( object obj ) : bool
HtmlEncode ( TextWriter writer, object value ) : void
HtmlEncode ( TextWriter writer, string value ) : void
HtmlEncodeAsync ( System.Threading.Tasks.Task before, TextWriter writer, object value ) : System.Threading.Tasks.Task
HtmlEncodeAsync ( System.Threading.Tasks.Task before, TextWriter writer, string value ) : System.Threading.Tasks.Task
HtmlEncodeLateBoundAsync ( System.Threading.Tasks.Task before, TextWriter writer, object value ) : System.Threading.Tasks.Task
RuntimeBind ( object model, LateBoundExpressionNode node ) : object
Then ( System.Threading.Tasks.Task first, System.Action next ) : System.Threading.Tasks.Task
Then ( System.Threading.Tasks.Task first, Func next ) : System.Threading.Tasks.Task
Write ( TextWriter writer, object value ) : void
Write ( TextWriter writer, string value ) : void
WriteAsync ( System.Threading.Tasks.Task before, TextWriter writer, object value ) : System.Threading.Tasks.Task
WriteAsync ( System.Threading.Tasks.Task before, TextWriter writer, string value ) : System.Threading.Tasks.Task

Private Methods

Method Description
Escape ( TextWriter writer, string value ) : void
GetBindingFlags ( bool isCaseSensitive ) : BindingFlags
Unwrap ( System.Threading.Tasks.Task before, TextWriter writer, object value ) : System.Threading.Tasks.Task

Method Details

Boolify() public static method

public static Boolify ( object o ) : bool
o object
return bool

CheckNotNull() public static method

public static CheckNotNull ( string message, object obj, SyntaxTreeNode node ) : void
message string
obj object
node Veil.Parser.SyntaxTreeNode
return void

CheckNull() public static method

public static CheckNull ( object obj ) : bool
obj object
return bool

HtmlEncode() public static method

public static HtmlEncode ( TextWriter writer, object value ) : void
writer System.IO.TextWriter
value object
return void

HtmlEncode() public static method

public static HtmlEncode ( TextWriter writer, string value ) : void
writer System.IO.TextWriter
value string
return void

HtmlEncodeAsync() public static method

public static HtmlEncodeAsync ( System.Threading.Tasks.Task before, TextWriter writer, object value ) : System.Threading.Tasks.Task
before System.Threading.Tasks.Task
writer System.IO.TextWriter
value object
return System.Threading.Tasks.Task

HtmlEncodeAsync() public static method

public static HtmlEncodeAsync ( System.Threading.Tasks.Task before, TextWriter writer, string value ) : System.Threading.Tasks.Task
before System.Threading.Tasks.Task
writer System.IO.TextWriter
value string
return System.Threading.Tasks.Task

HtmlEncodeLateBoundAsync() public static method

public static HtmlEncodeLateBoundAsync ( System.Threading.Tasks.Task before, TextWriter writer, object value ) : System.Threading.Tasks.Task
before System.Threading.Tasks.Task
writer System.IO.TextWriter
value object
return System.Threading.Tasks.Task

RuntimeBind() public static method

public static RuntimeBind ( object model, LateBoundExpressionNode node ) : object
model object
node Veil.Parser.Nodes.LateBoundExpressionNode
return object

Then() public static method

public static Then ( System.Threading.Tasks.Task first, System.Action next ) : System.Threading.Tasks.Task
first System.Threading.Tasks.Task
next System.Action
return System.Threading.Tasks.Task

Then() public static method

public static Then ( System.Threading.Tasks.Task first, Func next ) : System.Threading.Tasks.Task
first System.Threading.Tasks.Task
next Func
return System.Threading.Tasks.Task

Write() public static method

public static Write ( TextWriter writer, object value ) : void
writer System.IO.TextWriter
value object
return void

Write() public static method

public static Write ( TextWriter writer, string value ) : void
writer System.IO.TextWriter
value string
return void

WriteAsync() public static method

public static WriteAsync ( System.Threading.Tasks.Task before, TextWriter writer, object value ) : System.Threading.Tasks.Task
before System.Threading.Tasks.Task
writer System.IO.TextWriter
value object
return System.Threading.Tasks.Task

WriteAsync() public static method

public static WriteAsync ( System.Threading.Tasks.Task before, TextWriter writer, string value ) : System.Threading.Tasks.Task
before System.Threading.Tasks.Task
writer System.IO.TextWriter
value string
return System.Threading.Tasks.Task