ActivityMetadata.AddDefaultExtensionProvider<T> Method (Func<T>)

.NET Framework (current version)
 

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

Parameters

extensionProvider
Type: System.Func<T>

The function that returns the extension.

Type Parameters

T

The type of the extension provider.

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

.NET Framework
Available since 4.0
Return to top
Show: