コード例 #1
0
ファイル: UserContext.cs プロジェクト: YHZX2013/exchange_diff
        private void CreateFeatureManagerFactoryFromAD(OWAMiniRecipient miniRecipient)
        {
            OwaFlightConfigData  owaFlightConfigData  = UserContext.ReadFlightConfigDataFromAD(base.ExchangePrincipal.MailboxInfo.OrganizationId);
            RecipientTypeDetails recipientTypeDetails = base.ExchangePrincipal.RecipientTypeDetails;

            this.featuresManagerFactory = new FeaturesManagerFactory(miniRecipient, new ConfigurationContext(this), new ScopeFlightsSettingsProvider(), (VariantConfigurationSnapshot c) => new FeaturesStateOverride(c, recipientTypeDetails), owaFlightConfigData.RampId, owaFlightConfigData.IsFirstRelease);
        }
コード例 #2
0
ファイル: UserContext.cs プロジェクト: YHZX2013/exchange_diff
 internal static OwaFlightConfigData ReadAggregatedFlightConfigData(UserConfigurationManager.IAggregationContext aggregator, OrganizationId orgId)
 {
     return(UserContextUtilities.ReadAggregatedType <OwaFlightConfigData>(aggregator, "OWA.FlightConfiguration", () => UserContext.ReadFlightConfigDataFromAD(orgId)));
 }