Hide

YetaWF.Core Package Documentation

Display
Print

YetaWF.Core.IO.Module Class

This class provides access to the module data provider. The module data provider sets all access methods (like LoadModuleDefinitionAsync) during application startup.

These methods should never be called by applications. They are intended for framework use only. Use the methods provided by YetaWF.Core.Modules.ModuleDefinition instead.

All properties must be provided by a module data provider during application startup. The properties in this class provide access to the module data provider. A module data provider must be accessed through members of this class ONLY.

Namespace: YetaWF.Core.IO
Assembly: YetaWF.Core

Inheritance

Syntax

public static class Module;

Constructors

This class cannot be instantiated.

Properties

PublicStaticGetModulesAsyncRetrieves a collection of modules given sort/filter/paging criteria.
PublicStaticLoadModuleDefinitionAsyncLoads a module given the module Guid and returns the module object. It can be cast to a more specific derived type.
PublicStaticLockModuleAsyncLocks a module given the module Guid.
PublicStaticRemoveModuleDefinitionAsyncRemoves a module given the module Guid. Returns true if the module was removed, false if the module doesn't exist. All other errors cause an exception.
PublicStaticSaveModuleDefinitionAsyncSaves a module.

Methods

PublicInherited from System.ObjectEqualsDetermines whether the specified object is equal to the current object.
ProtectedInherited from System.ObjectFinalizeAllows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
PublicInherited from System.ObjectGetHashCodeServes as the default hash function.
PublicInherited from System.ObjectGetTypeGets the Type of the current instance.
ProtectedInherited from System.ObjectMemberwiseCloneCreates a shallow copy of the current Object.
PublicStaticInherited from System.ObjectReferenceEqualsDetermines whether the specified Object instances are the same instance.
PublicInherited from System.ObjectToStringReturns a string that represents the current object.

See Also YetaWF.Core Overview