Uređivanje

Dijeli putem


ActivityXamlServices.CreateReader Method

Definition

Maps an x:Class activity tree to an DynamicActivity or DynamicActivity<TResult>.

Overloads

CreateReader(Stream)

Maps an x:Class activity tree from the specified stream to an DynamicActivity or DynamicActivity<TResult>.

CreateReader(XamlReader)

Maps an x:Class activity tree from the specified reader to an DynamicActivity or DynamicActivity<TResult>.

CreateReader(XamlReader, XamlSchemaContext)

Maps an x:Class activity tree from the specified reader to an DynamicActivity or DynamicActivity<TResult> using the specified schema context.

Remarks

This overload is used for run-time scenarios.

CreateReader(Stream)

Maps an x:Class activity tree from the specified stream to an DynamicActivity or DynamicActivity<TResult>.

public:
 static System::Xaml::XamlReader ^ CreateReader(System::IO::Stream ^ stream);
public static System.Xaml.XamlReader CreateReader (System.IO.Stream stream);
static member CreateReader : System.IO.Stream -> System.Xaml.XamlReader
Public Shared Function CreateReader (stream As Stream) As XamlReader

Parameters

stream
Stream

The x:Class content.

Returns

The ActivityBuilder or ActivityBuilder<TResult> content.

Applies to

CreateReader(XamlReader)

Maps an x:Class activity tree from the specified reader to an DynamicActivity or DynamicActivity<TResult>.

public:
 static System::Xaml::XamlReader ^ CreateReader(System::Xaml::XamlReader ^ innerReader);
public static System.Xaml.XamlReader CreateReader (System.Xaml.XamlReader innerReader);
static member CreateReader : System.Xaml.XamlReader -> System.Xaml.XamlReader
Public Shared Function CreateReader (innerReader As XamlReader) As XamlReader

Parameters

innerReader
XamlReader

The x:Class content.

Returns

The ActivityBuilder or ActivityBuilder<TResult> content.

Applies to

CreateReader(XamlReader, XamlSchemaContext)

Maps an x:Class activity tree from the specified reader to an DynamicActivity or DynamicActivity<TResult> using the specified schema context.

public:
 static System::Xaml::XamlReader ^ CreateReader(System::Xaml::XamlReader ^ innerReader, System::Xaml::XamlSchemaContext ^ schemaContext);
public static System.Xaml.XamlReader CreateReader (System.Xaml.XamlReader innerReader, System.Xaml.XamlSchemaContext schemaContext);
static member CreateReader : System.Xaml.XamlReader * System.Xaml.XamlSchemaContext -> System.Xaml.XamlReader
Public Shared Function CreateReader (innerReader As XamlReader, schemaContext As XamlSchemaContext) As XamlReader

Parameters

innerReader
XamlReader

The x:Class content.

schemaContext
XamlSchemaContext

The schema context.

Returns

The ActivityBuilder or ActivityBuilder<TResult> content.

Applies to