externalProtocolSettings property

LazyMember<Map<UserSettingName, Func<OutlookProtocol, Object?>>> externalProtocolSettings
getter/setter pair
Converters to translate external (EXPR) Outlook protocol settings. Each entry maps to a lambda expression used to get the matching property from the OutlookProtocol instance.

Implementation

/* private */
static LazyMember<Map<UserSettingName, Func<OutlookProtocol, Object?>>>
    externalProtocolSettings =
    new LazyMember<Map<UserSettingName, Func<OutlookProtocol, Object?>>>(() {
  Map<UserSettingName, Object? Function(OutlookProtocol)> results =
      new Map<UserSettingName, Func<OutlookProtocol, Object>>();
  results[UserSettingName.ExternalEcpDeliveryReportUrl] =
      (p) => p.ConvertEcpFragmentToUrl(p.ecpUrlRet);
  results[UserSettingName.ExternalEcpEmailSubscriptionsUrl] =
      (p) => p.ConvertEcpFragmentToUrl(p.ecpUrlAggr);
  results[UserSettingName.ExternalEcpPublishingUrl] =
      (p) => p.ConvertEcpFragmentToUrl(p.ecpUrlPublish);
  results[UserSettingName.ExternalEcpPhotoUrl] =
      (p) => p.ConvertEcpFragmentToUrl(p.ecpUrlPhoto);
  results[UserSettingName.ExternalEcpRetentionPolicyTagsUrl] =
      (p) => p.ConvertEcpFragmentToUrl(p.ecpUrlRet);
  results[UserSettingName.ExternalEcpTextMessagingUrl] =
      (p) => p.ConvertEcpFragmentToUrl(p.ecpUrlSms);
  results[UserSettingName.ExternalEcpUrl] = (p) => p.ecpUrl;
  results[UserSettingName.ExternalEcpVoicemailUrl] =
      (p) => p.ConvertEcpFragmentToUrl(p.ecpUrlUm);
  results[UserSettingName.ExternalEcpConnectUrl] =
      (p) => p.ConvertEcpFragmentToUrl(p.ecpUrlConnect);
  results[UserSettingName.ExternalEcpTeamMailboxUrl] =
      (p) => p.ConvertEcpFragmentToUrl(p.ecpUrlTm);
  results[UserSettingName.ExternalEcpTeamMailboxCreatingUrl] =
      (p) => p.ConvertEcpFragmentToUrl(p.ecpUrlTmCreating);
  results[UserSettingName.ExternalEcpTeamMailboxEditingUrl] =
      (p) => p.ConvertEcpFragmentToUrl(p.ecpUrlTmEditing);
  results[UserSettingName.ExternalEcpTeamMailboxHidingUrl] =
      (p) => p.ConvertEcpFragmentToUrl(p.ecpUrlTmHiding);
  results[UserSettingName.ExternalEcpExtensionInstallationUrl] =
      (p) => p.ConvertEcpFragmentToUrl(p.ecpUrlExtInstall);
  results[UserSettingName.ExternalEwsUrl] =
      (p) => p.exchangeWebServicesUrl ?? p.availabilityServiceUrl;
  results[UserSettingName.ExternalEmwsUrl] =
      (p) => p.exchangeManagementWebServicesUrl;
  results[UserSettingName.ExternalMailboxServer] = (p) => p.server;
  results[UserSettingName.ExternalMailboxServerAuthenticationMethods] =
      (p) => p.authPackage;
  results[UserSettingName.ExternalMailboxServerRequiresSSL] =
      (p) => p.sslEnabled.toString();
  results[UserSettingName.ExternalOABUrl] = (p) => p.offlineAddressBookUrl;
  results[UserSettingName.ExternalUMUrl] = (p) => p.unifiedMessagingUrl;
  results[UserSettingName.ExchangeRpcUrl] = (p) => p.exchangeRpcUrl;
  results[UserSettingName.EwsPartnerUrl] =
      (p) => p.exchangeWebServicesPartnerUrl;
  results[UserSettingName.ExternalServerExclusiveConnect] =
      (p) => p.serverExclusiveConnect.toString();
  results[UserSettingName.CertPrincipalName] = (p) => p.certPrincipalName;
  results[UserSettingName.GroupingInformation] = (p) => p.groupingInformation;
  return results;
});