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