using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

using System.ComponentModel.Composition; //Export
using MEF_Interfejs; //IMessageSender
using System.Windows.Forms; //MessageBox

namespace MEF_Wtyczka_MessageBoxSender
{
    [Export(typeof(IMessageSender))]
    [ExportMetadata("CzyUzywaSieci", false)]
    public class MessageBoxSender : IMessageSender
    {
        public bool Send(string message)
        {
            MessageBox.Show(message);
            return true;
        }
    }
}
