Show / Hide Table of Contents

Class ModuleInfo

Defines the metadata that describes a module.

Inheritance
System.Object
ModuleInfo
Implements
IModuleCatalogItem
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Sartorius.SAF.Presentation.Modularity
Assembly: Sartorius.SAF.Presentation.dll
Syntax
[Serializable]
public class ModuleInfo : IModuleCatalogItem

Constructors

View Source

ModuleInfo()

Initializes a new empty instance of ModuleInfo.

Declaration
public ModuleInfo()
View Source

ModuleInfo(String, String)

Initializes a new instance of ModuleInfo.

Declaration
public ModuleInfo(string name, string type)
Parameters
Type Name Description
System.String name

The module's name.

System.String type

The module's type.

View Source

ModuleInfo(String, String, String[])

Initializes a new instance of ModuleInfo.

Declaration
public ModuleInfo(string name, string type, params string[] dependsOn)
Parameters
Type Name Description
System.String name

The module's name.

System.String type

The module System.Type's AssemblyQualifiedName.

System.String[] dependsOn

The modules this instance depends on.

Exceptions
Type Condition
System.ArgumentNullException

An System.ArgumentNullException is thrown if dependsOn is null.

Properties

View Source

DependsOn

Gets or sets the list of modules that this module depends upon.

Declaration
public Collection<string> DependsOn { get; set; }
Property Value
Type Description
System.Collections.ObjectModel.Collection<System.String>

The list of modules that this module depends upon.

View Source

InitializationMode

Specifies on which stage the Module will be initialized.

Declaration
public InitializationMode InitializationMode { get; set; }
Property Value
Type Description
InitializationMode
View Source

ModuleName

Gets or sets the name of the module.

Declaration
public string ModuleName { get; set; }
Property Value
Type Description
System.String

The name of the module.

View Source

ModuleType

Gets or sets the module System.Type's AssemblyQualifiedName.

Declaration
public string ModuleType { get; set; }
Property Value
Type Description
System.String

The type of the module.

View Source

Ref

Reference to the location of the module assembly.

Declaration
public string Ref { get; set; }
Property Value
Type Description
System.String
Examples

The following are examples of valid Ref values: http://myDomain/ClientBin/MyModules.xap for remote module in Silverlight file://c:/MyProject/Modules/MyModule.dll for a loose DLL in WPF.

View Source

State

Gets or sets the state of the ModuleInfo with regards to the module loading and initialization process.

Declaration
public ModuleState State { get; set; }
Property Value
Type Description
ModuleState

Implements

IModuleCatalogItem

Extension Methods

CollectionExtensions.AddRange<T, TCollection>(TCollection, IEnumerable<T>)
SerializableObjectCloneExtension.Clone<T>(T)
  • View Source
Back to top Generated by DocFX