ModelBindingExecutionContext.GetService<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.
Gets an object that contains values that are used for model binding and that have been stored by using the PublishService<TService>(TService) method.
public:
generic <typename TService>
virtual TService GetService();
public virtual TService GetService<TService> ();
abstract member GetService : unit -> 'Service
override this.GetService : unit -> 'Service
Public Overridable Function GetService(Of TService) () As TService
Type Parameters
- TService
The type of the object that contains values that are used for model binding.
Returns
TService
The object that contains values that are used for model binding.
Applies to
Zusammenarbeit auf GitHub
Die Quelle für diesen Inhalt finden Sie auf GitHub, wo Sie auch Issues und Pull Requests erstellen und überprüfen können. Weitere Informationen finden Sie in unserem Leitfaden für Mitwirkende.