using System;
using System.Collections.Generic;
using System.Linq;
using System.Reflection;
using System.Text;
using ZSMusic.IDAL;

namespace ZSMusic.DALFactory
{
    public static class MusicCreator
    {
        public static IMusic GetMusic(string source)
        {
            return (IDAL.IMusic)(Assembly.Load("ZSMusic.DAL").CreateInstance("ZSMusic.DAL.Platforms." + source));
        }
    }
}
