예제 #1
0
 public static PersonalProvider Instance()
 {
     if (HiContext.Current.SiteSettings.IsDistributorSettings)
     {
         return(PersonalSubsiteProvider.CreateInstance());
     }
     return(PersonalMasterProvider.CreateInstance());
 }
예제 #2
0
 static PersonalSubsiteProvider()
 {
     PersonalSubsiteProvider._defaultInstance = (DataProviders.CreateInstance("Hidistro.AccountCenter.DistributionData.ProfileData,Hidistro.AccountCenter.DistributionData") as PersonalSubsiteProvider);
 }