Επεξεργασία

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


DesignTimeResourceProviderFactory.CreateDesignTimeGlobalResourceProvider Method

Definition

When overridden in a derived class, creates a global resource provider using the provided IServiceProvider interface and resource class name.

public:
 abstract System::Web::Compilation::IResourceProvider ^ CreateDesignTimeGlobalResourceProvider(IServiceProvider ^ serviceProvider, System::String ^ classKey);
public abstract System.Web.Compilation.IResourceProvider CreateDesignTimeGlobalResourceProvider (IServiceProvider serviceProvider, string classKey);
abstract member CreateDesignTimeGlobalResourceProvider : IServiceProvider * string -> System.Web.Compilation.IResourceProvider
Public MustOverride Function CreateDesignTimeGlobalResourceProvider (serviceProvider As IServiceProvider, classKey As String) As IResourceProvider

Parameters

serviceProvider
IServiceProvider

A reference to the design host.

classKey
String

The name of the resource class.

Returns

Either an IResourceProvider or an IDesignTimeResourceWriter.

Applies to

See also