using System;
using System.ComponentModel.Composition;
using System.Windows;

namespace DynamicXAPLoading.Infrastructure
{
    [MetadataAttribute]
    [AttributeUsage(AttributeTargets.Class, AllowMultiple = false)]
    public class PageMetadataAttribute : ExportAttribute
    {
        public PageMetadataAttribute() : base(typeof(FrameworkElement))
        {
        }

        public string NavigateUri { get; set; }
        public ModuleEnum Module { get; set; }
    }

    public interface IPageMetadata
    {
        string NavigateUri { get; }
        ModuleEnum Module { get; }
    }
}
