Share via


ActivityXamlServices.CreateFactory 메서드

정의

오버로드

CreateFactory(XamlReader, Type)

지정된 형식의 반환 값이 있는 지정된 XAML 판독기의 대리자 메서드를 반환합니다.

CreateFactory<T>(XamlReader)

지정된 형식의 반환 값이 있는 지정된 XAML 판독기의 대리자 메서드를 반환합니다.

CreateFactory(XamlReader, Type)

지정된 형식의 반환 값이 있는 지정된 XAML 판독기의 대리자 메서드를 반환합니다.

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)

매개 변수

reader
XamlReader

XAML 판독기입니다.

resultType
Type

이 대리자로 캡슐화되는 메서드의 반환 값 형식입니다.

반환

지정된 형식의 반환 값이 있는 지정된 XAML 판독기의 대리자 메서드입니다.

적용 대상

CreateFactory<T>(XamlReader)

지정된 형식의 반환 값이 있는 지정된 XAML 판독기의 대리자 메서드를 반환합니다.

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)

형식 매개 변수

T

이 대리자로 캡슐화되는 메서드의 반환 값 형식입니다.

매개 변수

reader
XamlReader

XAML 판독기입니다.

반환

Func<T>

T 형식의 반환 값이 있는 지정된 XAML 판독기의 대리자 메서드입니다.

적용 대상