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

            if (HiContext.Current.SiteSettings.IsDistributorSettings)
            {
                result = MemberSubsiteProvider.CreateInstance();
            }
            else
            {
                result = MemberMasterProvider.CreateInstance();
            }
            return(result);
        }
Esempio n. 3
0
 static MemberMasterProvider()
 {
     MemberMasterProvider._defaultInstance = (DataProviders.CreateInstance("Hidistro.SaleSystem.Data.MemberData,Hidistro.SaleSystem.Data") as MemberMasterProvider);
 }