www.pudn.com > Fetion.rar > ExServiceMananger.cs


namespace Imps.Client.Pc 
{ 
    using Imps.Client.Core; 
    using System; 
 
    public class ExServiceMananger 
    { 
        public static IExService GetTagService(User user, string key) 
        { 
            IExService service = null; 
            string str = key; 
            if (str == null) 
            { 
                return service; 
            } 
            if (!(str == "FriendMatching")) 
            { 
                if (str != "Imps") 
                { 
                    if (str != "VodafoneFederation") 
                    { 
                        return service; 
                    } 
                    return new VodafoneService(); 
                } 
            } 
            else 
            { 
                return new FriendMatchingService(); 
            } 
            return new ImpsBasicService(); 
        } 
    } 
}