Επεξεργασία

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


ResourceKey.ProvideValue(IServiceProvider) Method

Definition

Returns this ResourceKey. Instances of this class are typically used as a key in a dictionary.

public:
 override System::Object ^ ProvideValue(IServiceProvider ^ serviceProvider);
public override object ProvideValue (IServiceProvider serviceProvider);
override this.ProvideValue : IServiceProvider -> obj
Public Overrides Function ProvideValue (serviceProvider As IServiceProvider) As Object

Parameters

serviceProvider
IServiceProvider

A service implementation that provides the desired value.

Returns

Calling this method always returns the instance itself.

Applies to