using System;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Tango.PPC.Common.Modules
{
///
/// Represents a PPC modules loading engine.
///
public interface IPPCModuleLoader
{
///
/// Occurs when the user has logged in and user modules are loaded.
///
event EventHandler ModulesLoaded;
///
/// Gets all loaded modules.
///
ObservableCollection AllModules { get; }
///
/// Gets all the user permitted modules.
///
ObservableCollection UserModules { get; }
///
/// Gets the PPC module of type T if loaded.
///
///
///
T GetPPCModule() where T : IPPCModule;
///
/// Loads all available PPC modules.
///
void LoadModules();
}
}