Option Strict On
Option Explicit On

Imports System.Collections.Generic
Imports Nexamas.UI.Architecture
Imports Nexamas.UI.Rendering

Namespace Nexamas.UI.Components

    ''' <summary>
    ''' Architecture relation declarations for Media components hosted by the shared PanelShell chrome.
    ''' </summary>
    Friend NotInheritable Class MASMediaComponentRelationProvider
        Implements Nexamas.UI.Architecture.IMASComponentRelationProvider

        Public Function GetRelations() As IEnumerable(Of Nexamas.UI.Architecture.MASComponentRelationDeclaration) Implements Nexamas.UI.Architecture.IMASComponentRelationProvider.GetRelations
            Dim relations As New List(Of MASComponentRelationDeclaration)()

            relations.Add(MASComponentRelationDeclaration.Create(GetType(MASImageViewer), GetType(MASPanelShellContract), MASComponentRelationKind.Uses, "ImageViewer renders its outer shell through the shared PanelShell; Media owns only toolbar, viewport, footer, and image behavior inside the shell content."))

            Return relations
        End Function

    End Class

End Namespace
