Show / Hide Table of Contents

Class LoadModuleCompletedEventArgs

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

Inheritance
object
EventArgs
LoadModuleCompletedEventArgs
EventArgs.Empty
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
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.

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
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
bool

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