IEntityConfigVisitor<TModel,TContext,TResult>.Visit 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.
Overloads
Visit(ResourceConfig<TModel>, TContext) | |
Visit<TParentModel>(NestedResourceConfig<TModel,TParentModel>, TContext) |
Visit(ResourceConfig<TModel>, TContext)
public TResult Visit (Microsoft.Azure.Commands.Common.Strategies.ResourceConfig<TModel> config, TContext context);
abstract member Visit : Microsoft.Azure.Commands.Common.Strategies.ResourceConfig<'Model (requires 'Model : null)> * 'Context -> 'Result
Public Function Visit (config As ResourceConfig(Of TModel), context As TContext) As TResult
Parameters
- config
- ResourceConfig<TModel>
- context
- TContext
Returns
TResult
Applies to
Visit<TParentModel>(NestedResourceConfig<TModel,TParentModel>, TContext)
public TResult Visit<TParentModel> (Microsoft.Azure.Commands.Common.Strategies.NestedResourceConfig<TModel,TParentModel> config, TContext context) where TParentModel : class;
abstract member Visit : Microsoft.Azure.Commands.Common.Strategies.NestedResourceConfig<'Model, 'ParentModel (requires 'Model : null and 'ParentModel : null)> * 'Context -> 'Result (requires 'ParentModel : null)
Public Function Visit(Of TParentModel As Class) (config As NestedResourceConfig(Of TModel, TParentModel), context As TContext) As TResult
Type Parameters
- TParentModel
Parameters
- config
- NestedResourceConfig<TModel,TParentModel>
- context
- TContext
Returns
TResult