Export (0) Print
Expand All

NativeActivityMetadata.AddDefaultExtensionProvider<T> Method

Adds the specified extension provider to the collection of default extension providers for the activity.

Namespace:  System.Activities
Assembly:  System.Activities (in System.Activities.dll)

public void AddDefaultExtensionProvider<T>(
	Func<T> extensionProvider
)
where T : class

Type Parameters

T

The type of the extension provider.

Parameters

extensionProvider
Type: System.Func<T>

The function that returns the extension.

If the host does not provide an extension of type T, then this extension provider is evaluated to provide one.

.NET Framework

Supported in: 4.6, 4.5, 4

.NET Framework Client Profile

Supported in: 4
Show:
© 2015 Microsoft