Option Strict On
Option Explicit On

Imports System
Imports Nexamas.UI.FileSystem

Namespace Nexamas.UI.Components

    ''' <summary>
    ''' Event arguments raised when a file picker produces a result.
    ''' </summary>
    ''' <remarks>
    ''' This class is host-independent.
    ''' It does not know about Overlay, Float, dialogs, closing behavior, or UI ownership.
    ''' </remarks>
    Public NotInheritable Class MASFilePickerResultEventArgs
        Inherits EventArgs

        Public ReadOnly Property Result As MASFilePickerResult

        Friend Sub New(result As MASFilePickerResult)
            If result Is Nothing Then Throw New ArgumentNullException(NameOf(result))
            Me.Result = result
        End Sub

    End Class

End Namespace