C# Class Microsoft.Scripting.Runtime.DynamicXamlReader

Provides services for loading XAML and binding events to dynamic language code definitions.
Mostra file Open project: jschementi/iron

Public Methods

Method Description
LoadComponent ( dynamic scope, DynamicOperations operations, Stream stream, XamlSchemaContext schemaContext ) : object

Loads XAML from the specified stream and returns the deserialized object. Any event handlers are bound to methods defined in the provided Scope and converted using the provided DynamicOperations object.

LoadComponent ( dynamic scope, DynamicOperations operations, TextReader reader, XamlSchemaContext schemaContext ) : object

Loads XAML from the specified TextReader and returns the deserialized object. Any event handlers are bound to methods defined in the provided Scope and converted using the provided DynamicOperations object.

LoadComponent ( dynamic scope, DynamicOperations operations, XamlXmlReader reader ) : object

Loads XAML from the specified XamlXmlReader and returns the deserialized object. Any event handlers are bound to methods defined in the provided Scope and converted using the provided DynamicOperations object.

LoadComponent ( dynamic scope, DynamicOperations operations, XmlReader reader, XamlSchemaContext schemaContext ) : object

Loads XAML from the specified XmlReader and returns the deserialized object. Any event handlers are bound to methods defined in the provided Scope and converted using the provided DynamicOperations object.

LoadComponent ( dynamic scope, DynamicOperations operations, string filename, XamlSchemaContext schemaContext ) : object

Loads XAML from the specified filename and returns the deserialized object. Any event handlers are bound to methods defined in the provided Scope and converted using the provided DynamicOperations object.

Method Details

LoadComponent() public static method

Loads XAML from the specified stream and returns the deserialized object. Any event handlers are bound to methods defined in the provided Scope and converted using the provided DynamicOperations object.
public static LoadComponent ( dynamic scope, DynamicOperations operations, Stream stream, XamlSchemaContext schemaContext ) : object
scope dynamic
operations DynamicOperations
stream Stream
schemaContext System.Xaml.XamlSchemaContext
return object

LoadComponent() public static method

Loads XAML from the specified TextReader and returns the deserialized object. Any event handlers are bound to methods defined in the provided Scope and converted using the provided DynamicOperations object.
public static LoadComponent ( dynamic scope, DynamicOperations operations, TextReader reader, XamlSchemaContext schemaContext ) : object
scope dynamic
operations DynamicOperations
reader System.IO.TextReader
schemaContext System.Xaml.XamlSchemaContext
return object

LoadComponent() public static method

Loads XAML from the specified XamlXmlReader and returns the deserialized object. Any event handlers are bound to methods defined in the provided Scope and converted using the provided DynamicOperations object.
public static LoadComponent ( dynamic scope, DynamicOperations operations, XamlXmlReader reader ) : object
scope dynamic
operations DynamicOperations
reader System.Xaml.XamlXmlReader
return object

LoadComponent() public static method

Loads XAML from the specified XmlReader and returns the deserialized object. Any event handlers are bound to methods defined in the provided Scope and converted using the provided DynamicOperations object.
public static LoadComponent ( dynamic scope, DynamicOperations operations, XmlReader reader, XamlSchemaContext schemaContext ) : object
scope dynamic
operations DynamicOperations
reader XmlReader
schemaContext System.Xaml.XamlSchemaContext
return object

LoadComponent() public static method

Loads XAML from the specified filename and returns the deserialized object. Any event handlers are bound to methods defined in the provided Scope and converted using the provided DynamicOperations object.
public static LoadComponent ( dynamic scope, DynamicOperations operations, string filename, XamlSchemaContext schemaContext ) : object
scope dynamic
operations DynamicOperations
filename string
schemaContext System.Xaml.XamlSchemaContext
return object