Persistate API documentation
ModuleType Structure
NamespacesPersistateModuleType

[This is preliminary documentation and is subject to change.]

Represents the type of a Module.
Declaration Syntax
C#
public struct ModuleType : IMultiValue
Members
All MembersConstructorsMethodsPropertiesFields



IconMemberDescription
ModuleType(Int32)
Creates a new ModuleType from an integer value.

_undefined_
This is the default ModuleType value.

Controller
This is the value for controller.

DesktopUi
This is the value for desktop ui.

Equals(Object)
Performs an equality comparison with another object.
(Overrides ValueType.Equals(Object).)
ExplicitNarrowingExplicitExplicitExplicit(ModuleType to String)
Explicit conversion from ModuleType to string.

Finalize()()()()
Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
(Inherited from Object.)
GetHashCode()()()()
Creates a hash code for the ModuleType.
(Overrides ValueType.GetHashCode()()()().)
GetType()()()()
Gets the Type of the current instance.
(Inherited from Object.)
ImplicitWideningImplicitImplicitImplicit(ModuleType to Int32)
Implicit conversion from ModuleType to int.

ImplicitWideningImplicitImplicitImplicit(Int32 to ModuleType)
Implicit conversion from int to ModuleType.

ImplicitWideningImplicitImplicitImplicit(String to ModuleType)
Implicit conversion from string to ModuleType.

IsCombinable
Indicates whether ModuleType values can be combined.

MemberwiseClone()()()()
Creates a shallow copy of the current Object.
(Inherited from Object.)
MobileUi
This is the value for mobile ui.

Model
This is the value for model.

ordinal
Contains the value of the ModuleType.

Ordinal
Gets the integer ordinal value of this ModuleType.

Other
This is the value for other.

Parse(String)
Parses a string containing a textual representation of an ModuleType.

sourcePairs
This array contains one source pair for each ModuleType value.

SourcePairs
Gets the array of ISourcePairs holding ordinal and text values.

StartUp
This is the value for start up.

TopValue
This is the value for the top value.

ToString()()()()
Creates a textual representation of the ModuleType.
(Overrides ValueType.ToString()()()().)
WebUi
This is the value for web ui.

Remarks

The types available are for Model, Controller, and various flavours of user interface. The StartUp type is used for the stub start-up assemblies used to run a Persistate application in stand-alone mode.

Modules adhere to the industry standard MVC (Model View Controller) architecture. The term user interface is used in Persistate in place of View, to avoid confusion with the database meaning of view, which is used for ViewClasses in Persistate.

Assembly: Persistate (Module: Persistate) Version: 0.6.1.20 (0.6.1.20)