Ανάγνωση στα Αγγλικά Επεξεργασία

Κοινή χρήση μέσω


CodeActivityMetadata.AddDefaultExtensionProvider<T> Method

Definition

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

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

Type Parameters

T

The type of the extension provider.

Parameters

extensionProvider
Func<T>

The function that returns the extension.

Remarks

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

Applies to

Προϊόν Εκδόσεις
.NET Framework 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1