internalProtocolSettings property

LazyMember<Map<UserSettingName, Func<OutlookProtocol, Object?>>> internalProtocolSettings
getter/setter pair
Converters to translate (EXCH) 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?>>>
    internalProtocolSettings =
    new LazyMember<Map<UserSettingName, Func<OutlookProtocol, Object?>>>(() {
  Map<UserSettingName, Object? Function(OutlookProtocol)> results =
      new Map<UserSettingName, Func<OutlookProtocol, Object>>();
  results[UserSettingName.ActiveDirectoryServer] =
      (p) => p.activeDirectoryServer;
  results[UserSettingName.CrossOrganizationSharingEnabled] =
      (p) => p.sharingEnabled.toString();
  results[UserSettingName.InternalEcpUrl] = (p) => p.ecpUrl;
  results[UserSettingName.InternalEcpDeliveryReportUrl] =
      (p) => p.ConvertEcpFragmentToUrl(p.ecpUrlMt);
  results[UserSettingName.InternalEcpEmailSubscriptionsUrl] =
      (p) => p.ConvertEcpFragmentToUrl(p.ecpUrlAggr);
  results[UserSettingName.InternalEcpPublishingUrl] =
      (p) => p.ConvertEcpFragmentToUrl(p.ecpUrlPublish);
  results[UserSettingName.InternalEcpPhotoUrl] =
      (p) => p.ConvertEcpFragmentToUrl(p.ecpUrlPhoto);
  results[UserSettingName.InternalEcpRetentionPolicyTagsUrl] =
      (p) => p.ConvertEcpFragmentToUrl(p.ecpUrlRet);
  results[UserSettingName.InternalEcpTextMessagingUrl] =
      (p) => p.ConvertEcpFragmentToUrl(p.ecpUrlSms);
  results[UserSettingName.InternalEcpVoicemailUrl] =
      (p) => p.ConvertEcpFragmentToUrl(p.ecpUrlUm);
  results[UserSettingName.InternalEcpConnectUrl] =
      (p) => p.ConvertEcpFragmentToUrl(p.ecpUrlConnect);
  results[UserSettingName.InternalEcpTeamMailboxUrl] =
      (p) => p.ConvertEcpFragmentToUrl(p.ecpUrlTm);
  results[UserSettingName.InternalEcpTeamMailboxCreatingUrl] =
      (p) => p.ConvertEcpFragmentToUrl(p.ecpUrlTmCreating);
  results[UserSettingName.InternalEcpTeamMailboxEditingUrl] =
      (p) => p.ConvertEcpFragmentToUrl(p.ecpUrlTmEditing);
  results[UserSettingName.InternalEcpTeamMailboxHidingUrl] =
      (p) => p.ConvertEcpFragmentToUrl(p.ecpUrlTmHiding);
  results[UserSettingName.InternalEcpExtensionInstallationUrl] =
      (p) => p.ConvertEcpFragmentToUrl(p.ecpUrlExtInstall);
  results[UserSettingName.InternalEwsUrl] =
      (p) => p.exchangeWebServicesUrl ?? p.availabilityServiceUrl;
  results[UserSettingName.InternalEmwsUrl] =
      (p) => p.exchangeManagementWebServicesUrl;
  results[UserSettingName.InternalMailboxServerDN] = (p) => p.serverDN;
  results[UserSettingName.InternalRpcClientServer] = (p) => p.server;
  results[UserSettingName.InternalOABUrl] = (p) => p.offlineAddressBookUrl;
  results[UserSettingName.InternalUMUrl] = (p) => p.unifiedMessagingUrl;
  results[UserSettingName.MailboxDN] = (p) => p.mailboxDN;
  results[UserSettingName.PublicFolderServer] = (p) => p.publicFolderServer;
  results[UserSettingName.InternalServerExclusiveConnect] =
      (p) => p.serverExclusiveConnect;
  return results;
});