Skip to content

Commit

Permalink
Fix XML compiler errors in handcrafted modules (#18173)
Browse files Browse the repository at this point in the history
* Fix XML compiler errors in handcrafted modules

* Update src/Automation/Automation/Model/Schedule.cs

* Update src/StorageSync/StorageSync/Common/Converters/BackgroundDataDownloadActivityConverter.cs
  • Loading branch information
BethanyZhou authored May 16, 2022
1 parent 9dc37a6 commit dc5409f
Show file tree
Hide file tree
Showing 27 changed files with 50 additions and 50 deletions.
4 changes: 2 additions & 2 deletions src/Automation/Automation/Model/Schedule.cs
Original file line number Diff line number Diff line change
Expand Up @@ -204,7 +204,7 @@ private bool AdvancedScheduleIsNull(Schedule schedule)
/// The day of week occurrence.
/// </param>
/// <returns>
/// The <see cref="int?"/>.
/// The <see cref="int">int?</see>
/// </returns>
private int? GetDayOfWeekOccurrence(string dayOfWeekOccurrence)
{
Expand All @@ -223,7 +223,7 @@ private bool AdvancedScheduleIsNull(Schedule schedule)
/// The schedule.
/// </param>
/// <returns>
/// The <see cref="WeeklyScheduleOptions"/>.
/// The <see cref="WeeklyScheduleOptions"/>
/// </returns>
private WeeklyScheduleOptions CreateWeeklyScheduleOptions(Microsoft.Azure.Management.Automation.Models.Schedule schedule)
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -78,6 +78,7 @@ public static List<string> GetStringListFromEnumList<T>(IList<T> enumList)
/// Gets list of enum type S equivalents given the corresponding list of enums of type T.
/// </summary>
/// <typeparam name="T">Type of the enum whose list should be converted to list of strings.</typeparam>
/// <typeparam name="S">Type of the enum whose list should be converted from list of T.</typeparam>
/// <param name="enumListT">List of enums.</param>
/// <returns>List of enums converted.</returns>
public static List<S> EnumListConverter<T, S>(IList<T> enumListT)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,6 @@ public static async Task<T> ReadContentAsJsonAsync<T>(this HttpResponseMessage m
/// <summary>
/// Reads the JSON content from the http response message.
/// </summary>
/// <typeparam name="T">The type of object contained in the JSON.</typeparam>
/// <param name="message">The response message to be read.</param>
/// <param name="rewindContentStream">Rewind content stream if set to true.</param>
/// <returns>An object of type T instantiated from the response message's body.</returns>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,9 +20,9 @@ namespace Microsoft.Azure.Commands.StorageSync.Common.Converters

/// <summary>
/// Class BackgroundDataDownloadActivityConverter.
/// Implements the <see cref="Converters.ConverterBase{PSBackgroundDataDownloadActivity, StorageSyncModels.ServerEndpointBackgroundDataDownloadActivity}" />
/// Implements the <see cref="Converters.ConverterBase{PSBackgroundDataDownloadActivity, ServerEndpointBackgroundDataDownloadActivity}"
/// </summary>
/// <seealso cref="Converters.ConverterBase{PSBackgroundDataDownloadActivity, StorageSyncModels.ServerEndpointBackgroundDataDownloadActivity}" />
/// <seealso cref="Converters.ConverterBase{PSBackgroundDataDownloadActivity, ServerEndpointBackgroundDataDownloadActivity}" />
public class BackgroundDataDownloadActivityConverter : ConverterBase<PSBackgroundDataDownloadActivity, StorageSyncModels.ServerEndpointBackgroundDataDownloadActivity>
{
/// <summary>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,9 +20,9 @@ namespace Microsoft.Azure.Commands.StorageSync.Common.Converters

/// <summary>
/// Class CloudEndpointChangeEnumerationActivityConverter.
/// Implements the <see cref="Microsoft.Azure.Commands.StorageSync.Common.Converters.ConverterBase{Microsoft.Azure.Commands.StorageSync.Models.PSCloudEndpointChangeEnumerationActivity, Microsoft.Azure.Management.StorageSync.Models.CloudEndpointChangeEnumerationActivity}" />
/// Implements the <see cref="Microsoft.Azure.Commands.StorageSync.Common.Converters.ConverterBase{PSCloudEndpointChangeEnumerationActivity, CloudEndpointChangeEnumerationActivity}" />
/// </summary>
/// <seealso cref="Microsoft.Azure.Commands.StorageSync.Common.Converters.ConverterBase{Microsoft.Azure.Commands.StorageSync.Models.PSCloudEndpointChangeEnumerationActivity, Microsoft.Azure.Management.StorageSync.Models.CloudEndpointChangeEnumerationActivity}" />
/// <seealso cref="Microsoft.Azure.Commands.StorageSync.Common.Converters.ConverterBase{PSCloudEndpointChangeEnumerationActivity, CloudEndpointChangeEnumerationActivity}" />
public class CloudEndpointChangeEnumerationActivityConverter : ConverterBase<PSCloudEndpointChangeEnumerationActivity, StorageSyncModels.CloudEndpointChangeEnumerationActivity>
{
/// <summary>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,9 +20,9 @@ namespace Microsoft.Azure.Commands.StorageSync.Common.Converters

/// <summary>
/// Class CloudEndpointChangeEnumerationStatusConverter.
/// Implements the <see cref="Microsoft.Azure.Commands.StorageSync.Common.Converters.ConverterBase{Microsoft.Azure.Commands.StorageSync.Models.PSCloudEndpoint, Microsoft.Azure.Management.StorageSync.Models.CloudEndpoint}" />
/// Implements the <see cref="Microsoft.Azure.Commands.StorageSync.Common.Converters.ConverterBase{PSCloudEndpoint, CloudEndpoint}" />
/// </summary>
/// <seealso cref="Microsoft.Azure.Commands.StorageSync.Common.Converters.ConverterBase{Microsoft.Azure.Commands.StorageSync.Models.PSCloudEndpoint, Microsoft.Azure.Management.StorageSync.Models.CloudEndpoint}" />
/// <seealso cref="Microsoft.Azure.Commands.StorageSync.Common.Converters.ConverterBase{PSCloudEndpoint, CloudEndpoint}" />
public class CloudEndpointChangeEnumerationStatusConverter : ConverterBase<PSCloudEndpointChangeEnumerationStatus, StorageSyncModels.CloudEndpointChangeEnumerationStatus>
{
/// <summary>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,9 +21,9 @@ namespace Microsoft.Azure.Commands.StorageSync.Common.Converters
{
/// <summary>
/// Class CloudEndpointConverter.
/// Implements the <see cref="Microsoft.Azure.Commands.StorageSync.Common.Converters.ConverterBase{Microsoft.Azure.Commands.StorageSync.Models.PSCloudEndpoint, Microsoft.Azure.Management.StorageSync.Models.CloudEndpoint}" />
/// Implements the <see cref="Microsoft.Azure.Commands.StorageSync.Common.Converters.ConverterBase{PSCloudEndpoint, CloudEndpoint}" />
/// </summary>
/// <seealso cref="Microsoft.Azure.Commands.StorageSync.Common.Converters.ConverterBase{Microsoft.Azure.Commands.StorageSync.Models.PSCloudEndpoint, Microsoft.Azure.Management.StorageSync.Models.CloudEndpoint}" />
/// <seealso cref="Microsoft.Azure.Commands.StorageSync.Common.Converters.ConverterBase{PSCloudEndpoint, CloudEndpoint}" />
public class CloudEndpointConverter : ConverterBase<PSCloudEndpoint, StorageSyncModels.CloudEndpoint>
{
/// <summary>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,9 +20,9 @@ namespace Microsoft.Azure.Commands.StorageSync.Common.Converters

/// <summary>
/// Class CloudEndpointLastChangeEnumerationStatusConverter.
/// Implements the <see cref="Microsoft.Azure.Commands.StorageSync.Common.Converters.ConverterBase{Microsoft.Azure.Commands.StorageSync.Models.PSCloudEndpointLastChangeEnumerationStatus, Microsoft.Azure.Management.StorageSync.Models.CloudEndpointLastChangeEnumerationStatus}" />
/// Implements the <see cref="Microsoft.Azure.Commands.StorageSync.Common.Converters.ConverterBase{PSCloudEndpointLastChangeEnumerationStatus, CloudEndpointLastChangeEnumerationStatus}" />
/// </summary>
/// <seealso cref="Microsoft.Azure.Commands.StorageSync.Common.Converters.ConverterBase{Microsoft.Azure.Commands.StorageSync.Models.PSCloudEndpointLastChangeEnumerationStatus, Microsoft.Azure.Management.StorageSync.Models.CloudEndpointLastChangeEnumerationStatus}" />
/// <seealso cref="Microsoft.Azure.Commands.StorageSync.Common.Converters.ConverterBase{PSCloudEndpointLastChangeEnumerationStatus, CloudEndpointLastChangeEnumerationStatus}" />
public class CloudEndpointLastChangeEnumerationStatusConverter : ConverterBase<PSCloudEndpointLastChangeEnumerationStatus, StorageSyncModels.CloudEndpointLastChangeEnumerationStatus>
{
/// <summary>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,9 +20,9 @@ namespace Microsoft.Azure.Commands.StorageSync.Common.Converters

/// <summary>
/// Class CloudTieringCachePerformanceConverter.
/// Implements the <see cref="Converters.ConverterBase{PSCloudTieringCachePerformance, StorageSyncModels.CloudTieringCachePerformance}" />
/// Implements the <see cref="Converters.ConverterBase{PSCloudTieringCachePerformance, CloudTieringCachePerformance}" />
/// </summary>
/// <seealso cref="Converters.ConverterBase{PSCloudTieringCachePerformance, StorageSyncModels.CloudTieringCachePerformance}" />
/// <seealso cref="Converters.ConverterBase{PSCloudTieringCachePerformance, CloudTieringCachePerformance}" />
public class CloudTieringCachePerformanceConverter : ConverterBase<PSCloudTieringCachePerformance, StorageSyncModels.CloudTieringCachePerformance>
{
/// <summary>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,9 +22,9 @@ namespace Microsoft.Azure.Commands.StorageSync.Common.Converters

/// <summary>
/// Class CloudTieringFilesNotTieringConverter.
/// Implements the <see cref="Converters.ConverterBase{PSCloudTieringFilesNotTiering, StorageSyncModels.CloudTieringFilesNotTiering}" />
/// Implements the <see cref="Converters.ConverterBase{PSCloudTieringFilesNotTiering, CloudTieringFilesNotTiering}" />
/// </summary>
/// <seealso cref="Converters.ConverterBase{PSCloudTieringFilesNotTiering, StorageSyncModels.CloudTieringFilesNotTiering}" />
/// <seealso cref="Converters.ConverterBase{PSCloudTieringFilesNotTiering, CloudTieringFilesNotTiering}" />
public class CloudTieringFilesNotTieringConverter : ConverterBase<PSCloudTieringFilesNotTiering, StorageSyncModels.CloudTieringFilesNotTiering>
{
/// <summary>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,9 +20,9 @@ namespace Microsoft.Azure.Commands.StorageSync.Common.Converters

/// <summary>
/// Class CloudTieringSpaceSavingsConverter.
/// Implements the <see cref="Converters.ConverterBase{PSCloudTieringSpaceSavings, StorageSyncModels.CloudTieringSpaceSavings}" />
/// Implements the <see cref="Converters.ConverterBase{PSCloudTieringSpaceSavings, CloudTieringSpaceSavings}" />
/// </summary>
/// <seealso cref="Converters.ConverterBase{PSCloudTieringSpaceSavings, StorageSyncModels.CloudTieringSpaceSavings}" />
/// <seealso cref="Converters.ConverterBase{PSCloudTieringSpaceSavings, CloudTieringSpaceSavings}" />
public class CloudTieringSpaceSavingsConverter : ConverterBase<PSCloudTieringSpaceSavings, StorageSyncModels.CloudTieringSpaceSavings>
{
/// <summary>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,9 +20,9 @@ namespace Microsoft.Azure.Commands.StorageSync.Common.Converters

/// <summary>
/// Class CloudTieringVolumeFreeSpacePolicyStatusConverter.
/// Implements the <see cref="Converters.ConverterBase{PSCloudTieringVolumeFreeSpacePolicyStatus, StorageSyncModels.CloudTieringVolumeFreeSpacePolicyStatus}" />
/// Implements the <see cref="Converters.ConverterBase{PSCloudTieringVolumeFreeSpacePolicyStatus, CloudTieringVolumeFreeSpacePolicyStatus}" />
/// </summary>
/// <seealso cref="Converters.ConverterBase{PSCloudTieringVolumeFreeSpacePolicyStatus, StorageSyncModels.CloudTieringVolumeFreeSpacePolicyStatus}" />
/// <seealso cref="Converters.ConverterBase{PSCloudTieringVolumeFreeSpacePolicyStatus, CloudTieringVolumeFreeSpacePolicyStatus}" />
public class CloudTieringVolumeFreeSpacePolicyStatusConverter : ConverterBase<PSCloudTieringVolumeFreeSpacePolicyStatus, StorageSyncModels.CloudTieringVolumeFreeSpacePolicyStatus>
{
/// <summary>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,9 +20,9 @@ namespace Microsoft.Azure.Commands.StorageSync.Common.Converters

/// <summary>
/// Class CloudTieringCachePerformanceConverter.
/// Implements the <see cref="Converters.ConverterBase{PSFilesNotTieringError, StorageSyncModels.FilesNotTieringError}" />
/// Implements the <see cref="Converters.ConverterBase{PSFilesNotTieringError, FilesNotTieringError}" />
/// </summary>
/// <seealso cref="Converters.ConverterBase{PSFilesNotTieringError, StorageSyncModels.FilesNotTieringError}" />
/// <seealso cref="Converters.ConverterBase{PSFilesNotTieringError, FilesNotTieringError}" />
public class FilesNotTieringErrorConverter : ConverterBase<PSFilesNotTieringError, StorageSyncModels.FilesNotTieringError>
{
/// <summary>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,9 +20,9 @@ namespace Microsoft.Azure.Commands.StorageSync.Common.Converters

/// <summary>
/// Class PrivateEndpointConnectionsConverter.
/// Implements the <see cref="Microsoft.Azure.Commands.StorageSync.Common.Converters.ConverterBase{Microsoft.Azure.Commands.StorageSync.Models.PSPrivateEndpointConnection, Microsoft.Azure.Management.StorageSync.Models.PrivateEndpointConnection}" />
/// Implements the <see cref="Microsoft.Azure.Commands.StorageSync.Common.Converters.ConverterBase{PSPrivateEndpointConnection, PrivateEndpointConnection}" />
/// </summary>
/// <seealso cref="Microsoft.Azure.Commands.StorageSync.Common.Converters.ConverterBase{Microsoft.Azure.Commands.StorageSync.Models.PSPrivateEndpointConnection, Microsoft.Azure.Management.StorageSync.Models.PrivateEndpointConnection}" />
/// <seealso cref="Microsoft.Azure.Commands.StorageSync.Common.Converters.ConverterBase{PSPrivateEndpointConnection, PrivateEndpointConnection}" />
public class PrivateEndpointConnectionConverter : ConverterBase<PSPrivateEndpointConnection, StorageSyncModels.PrivateEndpointConnection>
{

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,9 +19,9 @@ namespace Microsoft.Azure.Commands.StorageSync.Common.Converters
{
/// <summary>
/// Class PrivateEndpointConverter.
/// Implements the <see cref="Microsoft.Azure.Commands.StorageSync.Common.Converters.ConverterBase{Microsoft.Azure.Commands.StorageSync.Models.PSPrivateEndpoint, Microsoft.Azure.Management.StorageSync.Models.PrivateEndpoint}" />
/// Implements the <see cref="Microsoft.Azure.Commands.StorageSync.Common.Converters.ConverterBase{PSPrivateEndpoint, PrivateEndpoint}" />
/// </summary>
/// <seealso cref="Microsoft.Azure.Commands.StorageSync.Common.Converters.ConverterBase{Microsoft.Azure.Commands.StorageSync.Models.PSPrivateEndpoint, Microsoft.Azure.Management.StorageSync.Models.PrivateEndpoint}" />
/// <seealso cref="Microsoft.Azure.Commands.StorageSync.Common.Converters.ConverterBase{PSPrivateEndpoint, PrivateEndpoint}" />
public class PrivateEndpointConverter : ConverterBase<PSPrivateEndpoint, StorageSyncModels.PrivateEndpoint>
{

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,9 +19,9 @@ namespace Microsoft.Azure.Commands.StorageSync.Common.Converters
{
/// <summary>
/// Class PrivateLinkServiceConnectionStateConverter.
/// Implements the <see cref="Microsoft.Azure.Commands.StorageSync.Common.Converters.ConverterBase{Microsoft.Azure.Commands.StorageSync.Models.PSPrivateLinkServiceConnectionState, Microsoft.Azure.Management.StorageSync.Models.PrivateLinkServiceConnectionState}" />
/// Implements the <see cref="Microsoft.Azure.Commands.StorageSync.Common.Converters.ConverterBase{PSPrivateLinkServiceConnectionState, PrivateLinkServiceConnectionState}" />
/// </summary>
/// <seealso cref="Microsoft.Azure.Commands.StorageSync.Common.Converters.ConverterBase{Microsoft.Azure.Commands.StorageSync.Models.PSPrivateLinkServiceConnectionState, Microsoft.Azure.Management.StorageSync.Models.PrivateLinkServiceConnectionState}" />
/// <seealso cref="Microsoft.Azure.Commands.StorageSync.Common.Converters.ConverterBase{PSPrivateLinkServiceConnectionState, PrivateLinkServiceConnectionState}" />
public class PrivateLinkServiceConnectionStateConverter : ConverterBase<PSPrivateLinkServiceConnectionState, StorageSyncModels.PrivateLinkServiceConnectionState>
{

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,9 +23,9 @@ namespace Microsoft.Azure.Commands.StorageSync.Common.Converters

/// <summary>
/// Class RegisteredServerConverter.
/// Implements the <see cref="Microsoft.Azure.Commands.StorageSync.Common.Converters.ConverterBase{Microsoft.Azure.Commands.StorageSync.Models.PSRegisteredServer, Microsoft.Azure.Management.StorageSync.Models.RegisteredServer}" />
/// Implements the <see cref="Microsoft.Azure.Commands.StorageSync.Common.Converters.ConverterBase{PSRegisteredServer, RegisteredServer}" />
/// </summary>
/// <seealso cref="Microsoft.Azure.Commands.StorageSync.Common.Converters.ConverterBase{Microsoft.Azure.Commands.StorageSync.Models.PSRegisteredServer, Microsoft.Azure.Management.StorageSync.Models.RegisteredServer}" />
/// <seealso cref="Microsoft.Azure.Commands.StorageSync.Common.Converters.ConverterBase{PSRegisteredServer, RegisteredServer}" />
public class RegisteredServerConverter : ConverterBase<PSRegisteredServer, StorageSyncModels.RegisteredServer>
{
/// <summary>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,9 +20,9 @@ namespace Microsoft.Azure.Commands.StorageSync.Common.Converters

/// <summary>
/// Class ServerEndpointCloudTieringStatusConverter.
/// Implements the <see cref="Converters.ConverterBase{PSServerEndpointCloudTieringStatus, StorageSyncModels.ServerEndpointCloudTieringStatus}" />
/// Implements the <see cref="Converters.ConverterBase{PSServerEndpointCloudTieringStatus, ServerEndpointCloudTieringStatus}" />
/// </summary>
/// <seealso cref="Converters.ConverterBase{PSServerEndpointCloudTieringStatus, StorageSyncModels.ServerEndpointHealth}" />
/// <seealso cref="Converters.ConverterBase{PSServerEndpointCloudTieringStatus, ServerEndpointHealth}" />
public class ServerEndpointCloudTieringStatusConverter : ConverterBase<PSServerEndpointCloudTieringStatus, StorageSyncModels.ServerEndpointCloudTieringStatus>
{
/// <summary>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,9 +22,9 @@ namespace Microsoft.Azure.Commands.StorageSync.Common.Converters

/// <summary>
/// Class ServerEndpointConverter.
/// Implements the <see cref="Converters.ConverterBase{PSServerEndpoint, StorageSyncModels.ServerEndpoint}" />
/// Implements the <see cref="Converters.ConverterBase{PSServerEndpoint, ServerEndpoint}" />
/// </summary>
/// <seealso cref="Converters.ConverterBase{PSServerEndpoint, StorageSyncModels.ServerEndpoint}" />
/// <seealso cref="Converters.ConverterBase{PSServerEndpoint, ServerEndpoint}" />
public class ServerEndpointConverter : ConverterBase<PSServerEndpoint, StorageSyncModels.ServerEndpoint>
{

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,9 +20,9 @@ namespace Microsoft.Azure.Commands.StorageSync.Common.Converters
{
/// <summary>
/// Class ServerEndpointHealthConvertor.
/// Implements the <see cref="Converters.ConverterBase{PSServerEndpointHealth, StorageSyncModels.ServerEndpointSyncStatus}" />
/// Implements the <see cref="Converters.ConverterBase{PSServerEndpointHealth, ServerEndpointSyncStatus}" />
/// </summary>
/// <seealso cref="Converters.ConverterBase{PSServerEndpointHealth, StorageSyncModels.ServerEndpointSyncStatus}" />
/// <seealso cref="Converters.ConverterBase{PSServerEndpointHealth, ServerEndpointSyncStatus}" />
public class ServerEndpointHealthConverter : ConverterBase<PSServerEndpointHealth, StorageSyncModels.ServerEndpointSyncStatus>
{
/// <summary>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,9 +20,9 @@ namespace Microsoft.Azure.Commands.StorageSync.Common.Converters

/// <summary>
/// Class ServerEndpointRecallErrorConverter.
/// Implements the <see cref="Converters.ConverterBase{PSServerEndpointRecallError, StorageSyncModels.ServerEndpointRecallError}" />
/// Implements the <see cref="Converters.ConverterBase{PSServerEndpointRecallError, ServerEndpointRecallError}" />
/// </summary>
/// <seealso cref="Converters.ConverterBase{PSServerEndpointRecallError, StorageSyncModels.ServerEndpointRecallError}" />
/// <seealso cref="Converters.ConverterBase{PSServerEndpointRecallError, ServerEndpointRecallError}" />
public class ServerEndpointRecallErrorConverter : ConverterBase<PSServerEndpointRecallError, StorageSyncModels.ServerEndpointRecallError>
{
/// <summary>
Expand Down
Loading

0 comments on commit dc5409f

Please sign in to comment.