Ejemplo n.º 1
0
 public static MemberProvider Instance()
 {
     if (HiContext.Current.SiteSettings.IsDistributorSettings)
     {
         return(MemberSubsiteProvider.CreateInstance());
     }
     return(MemberMasterProvider.CreateInstance());
 }
Ejemplo n.º 2
0
        public static MemberProvider Instance()
        {
            MemberProvider result;

            if (HiContext.Current.SiteSettings.IsDistributorSettings)
            {
                result = MemberSubsiteProvider.CreateInstance();
            }
            else
            {
                result = MemberMasterProvider.CreateInstance();
            }
            return(result);
        }