你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn。
StateExtensions.GetDispatch<TModel> 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.
public static TModel GetDispatch<TModel> (this Microsoft.Azure.Commands.Common.Strategies.IState state, Microsoft.Azure.Commands.Common.Strategies.IEntityConfig<TModel> config) where TModel : class;
static member GetDispatch : Microsoft.Azure.Commands.Common.Strategies.IState * Microsoft.Azure.Commands.Common.Strategies.IEntityConfig<'Model (requires 'Model : null)> -> 'Model (requires 'Model : null)
<Extension()>
Public Function GetDispatch(Of TModel As Class) (state As IState, config As IEntityConfig(Of TModel)) As TModel
Type Parameters
- TModel
Parameters
- state
- IState
- config
- IEntityConfig<TModel>
Returns
TModel