ModelBindingExecutionContext.PublishService<TService>(TService) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Stores an object that contains values that are used for model binding and that will be accessed by using the GetService<TService>() method.
public:
generic <typename TService>
virtual void PublishService(TService service);
public virtual void PublishService<TService> (TService service);
abstract member PublishService : 'Service -> unit
override this.PublishService : 'Service -> unit
Public Overridable Sub PublishService(Of TService) (service As TService)
Type Parameters
- TService
The type of the object that contains values to store.
Parameters
- service
- TService
The object that contains values to store.
Applies to
GitHub'da bizimle işbirliği yapın
Bu içeriğin kaynağı GitHub'da bulunabilir; burada ayrıca sorunları ve çekme isteklerini oluşturup gözden geçirebilirsiniz. Daha fazla bilgi için katkıda bulunan kılavuzumuzu inceleyin.