Exemple #1
0
        internal static void CleanupInboxRuleDataProvider(IConfigDataProvider provider)
        {
            XsoMailboxDataProviderBase xsoMailboxDataProviderBase = provider as XsoMailboxDataProviderBase;

            if (xsoMailboxDataProviderBase != null)
            {
                xsoMailboxDataProviderBase.Dispose();
            }
        }
Exemple #2
0
        internal static void CleanupOWAExtensionDataProvider(IConfigDataProvider provider)
        {
            XsoMailboxDataProviderBase xsoMailboxDataProviderBase = provider as XsoMailboxDataProviderBase;

            if (xsoMailboxDataProviderBase != null)
            {
                xsoMailboxDataProviderBase.Dispose();
                return;
            }
            OWAAppDataProviderForNonMailboxUser owaappDataProviderForNonMailboxUser = provider as OWAAppDataProviderForNonMailboxUser;

            if (owaappDataProviderForNonMailboxUser != null)
            {
                owaappDataProviderForNonMailboxUser.Dispose();
            }
        }