ConvertToUserSettings method

void ConvertToUserSettings(
  1. List<UserSettingName> requestedSettings,
  2. GetUserSettingsResponse response
)
Convert OutlookAccount to GetUserSettings response. The requested settings. GetUserSettings response.

Implementation

void ConvertToUserSettings(List<UserSettingName> requestedSettings,
    GetUserSettingsResponse response) {
  for (OutlookProtocol protocol in this._protocols.values) {
    protocol.ConvertToUserSettings(requestedSettings, response);
  }

  if (requestedSettings.contains(UserSettingName.AlternateMailboxes)) {
    response.Settings[UserSettingName.AlternateMailboxes] =
        this._alternateMailboxes;
  }
}