Redigera

Dela via


ActivityXamlServices.CreateBuilderReader Method

Definition

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

Overloads

CreateBuilderReader(XamlReader)

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

CreateBuilderReader(XamlReader, XamlSchemaContext)

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

Remarks

This overload is used for design-time scenarios.

CreateBuilderReader(XamlReader)

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

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

Parameters

innerReader
XamlReader

The x:Class content.

Returns

A XamlReader that handles the transformation between the ActivityBuilder and the activity x:Class XAML.

Applies to

CreateBuilderReader(XamlReader, XamlSchemaContext)

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

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

Parameters

innerReader
XamlReader

The x:Class content.

schemaContext
XamlSchemaContext

The schema context.

Returns

A XamlReader that handles the transformation between the ActivityBuilder and the activity x:Class XAML.

Applies to