Show / Hide Table of Contents

Class LoadModuleCompletedEventArgs

Provides completion information after a module is loaded, or fails to load.

Inheritance
System.Object
System.EventArgs
LoadModuleCompletedEventArgs
System.EventArgs.Empty
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
public class LoadModuleCompletedEventArgs : EventArgs

Constructors

View Source

LoadModuleCompletedEventArgs(ModuleInfo, Exception)

Initializes a new instance of the LoadModuleCompletedEventArgs class.

Declaration
public LoadModuleCompletedEventArgs(ModuleInfo moduleInfo, Exception error)
Parameters
Type Name Description
ModuleInfo moduleInfo

The module info.

System.Exception error

Any error that occurred during the call.

Properties

View Source

Error

Gets any error that occurred

Declaration
public Exception Error { get; }
Property Value
Type Description
System.Exception

The exception if an error occurred; otherwise null.

View Source

IsErrorHandled

Gets or sets a value indicating whether the error has been handled by the event subscriber.

Declaration
public bool IsErrorHandled { get; set; }
Property Value
Type Description
System.Boolean

trueif the error is handled; otherwise, false.

Remarks

If there is an error on this event and no event subscriber sets this to true, an exception will be thrown by the event publisher.

View Source

ModuleInfo

Gets the module info.

Declaration
public ModuleInfo ModuleInfo { get; }
Property Value
Type Description
ModuleInfo

The module info.

Extension Methods

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