Condividi tramite


ActivityXamlServices.CreateFactory Metodo

Definizione

Overload

CreateFactory(XamlReader, Type)

Restituisce un metodo delegato per il reader XAML specificato con valore restituito di tipo specificato.

CreateFactory<T>(XamlReader)

Restituisce un metodo delegato per il reader XAML specificato con valore restituito di tipo specificato.

CreateFactory(XamlReader, Type)

Restituisce un metodo delegato per il reader XAML specificato con valore restituito di tipo specificato.

public:
 static Func<System::Object ^> ^ CreateFactory(System::Xaml::XamlReader ^ reader, Type ^ resultType);
public static Func<object> CreateFactory (System.Xaml.XamlReader reader, Type resultType);
static member CreateFactory : System.Xaml.XamlReader * Type -> Func<obj>
Public Shared Function CreateFactory (reader As XamlReader, resultType As Type) As Func(Of Object)

Parametri

reader
XamlReader

Lettore XAML.

resultType
Type

Tipo del valore restituito del metodo incapsulato da questo delegato.

Restituisce

Metodo delegato per il reader XAML specificato con valore restituito di tipo specificato.

Si applica a

CreateFactory<T>(XamlReader)

Restituisce un metodo delegato per il reader XAML specificato con valore restituito di tipo specificato.

public:
generic <typename T>
 where T : class static Func<T> ^ CreateFactory(System::Xaml::XamlReader ^ reader);
public static Func<T> CreateFactory<T> (System.Xaml.XamlReader reader) where T : class;
static member CreateFactory : System.Xaml.XamlReader -> Func<'T (requires 'T : null)> (requires 'T : null)
Public Shared Function CreateFactory(Of T As Class) (reader As XamlReader) As Func(Of T)

Parametri di tipo

T

Tipo del valore restituito del metodo incapsulato da questo delegato.

Parametri

reader
XamlReader

Lettore XAML.

Restituisce

Func<T>

Metodo delegato per il reader XAML specificato con valore restituito di tipo T.

Si applica a