YetaWF.DataProvider.ModuleDefinition Package Documentation

Display
Print

YetaWF.DataProvider.ModuleDefinitionDataProvider<KEY,TYPE>.LoadModuleDefinitionAsync Method

Loads the module.

Class: YetaWF.DataProvider.ModuleDefinitionDataProvider<KEY,TYPE>
Namespace: YetaWF.DataProvider
Assembly: YetaWF.DataProvider.ModuleDefinition

Syntax

public Task<YetaWF.Core.Modules.ModuleDefinition?> LoadModuleDefinitionAsync( Guid key );

Parameters

key

The module Guid.

Return Value

Returns the YetaWF.Core.Modules.ModuleDefinition instance or null if module doesn't exist. If the template class is used with a specific derived module type, the returned instance can be cast to the more specific type.

Remarks

This is never called directly. Always use YetaWF.Core.Module.ModuleDefinition.LoadModuleDefinitionAsync to load a module.

See Also YetaWF.DataProvider.ModuleDefinitionDataProvider<KEY,TYPE> ClassYetaWF.DataProvider.ModuleDefinitionYetaWF.Core