R#6.1.15.21 comments aligned incorrectly.

Hello,

The results I get in this build (6.1.15.21)

// --------------------------------------------------------------------------------------------------------------------
// <copyright file="IMembershipProvider.cs" company="Eyal Shilony">
//      © 2011 Eyal Shilony, All rights reserved.
// </copyright>
// --------------------------------------------------------------------------------------------------------------------

namespace DotNetDeluxe.Services.Web.Security
{
     using System;
     using System.Collections.Generic;

     /// <summary>
     ///      Represents a minimal contract that ASP.NET implements to provide membership services
     ///      using custom membership providers.
     /// </summary>
     /// <remarks>
     ///      Eyal Shilony, 22/11/2011.
     /// </remarks>
     public interface IMembershipProvider
     {
          /// <summary>
          ///      Occurs when the user is authenticated during changes to its account.
          /// </summary>
          event EventHandler<MembershipProviderEventArgs> AuthenticatingUser;

          /// <summary>
          ///      Occurs when creating a new user.
          /// </summary>
          event EventHandler<MembershipProviderEventArgs> CreatingUser;

          /// <summary>
          ///      Occurs when deleting a user.
          /// </summary>
          event EventHandler<MembershipProviderEventArgs> DeletingUser;

          /// <summary>
          ///      Occurs when a user is updating the account.
          /// </summary>
          event EventHandler<MembershipProviderEventArgs> UpdatingUser;

          /// <summary>
          ///      Gets or sets the name of the application using the custom membership provider.
          /// </summary>
          /// <value>The name of the application using the custom membership provider.</value>
          string ApplicationName
          {
               get;
               set;
          }

          /// <summary>
          ///      Gets a value indicating whether the membership provider is configured to allow
          ///      users to reset their passwords.
          /// </summary>
          /// <value>true if the membership provider supports password reset; otherwise, false. the
          ///      default value is true.</value>
          bool EnablePasswordReset
          {
               get;
          }

          /// <summary>
          ///      Gets the number of invalid password or password-answer attempts allowed before
          ///      the membership user is locked out.
          /// </summary>
          /// <value>The number of invalid password or password-answer attempts allowed before the
          ///      membership user is locked out.</value>
          int MaxInvalidPasswordAttempts
          {
               get;
          }

          /// <summary>
          ///      Gets the minimum number of special characters that must be present in a valid
          ///      password.
          /// </summary>
          /// <value>The minimum number of special characters that must be present in a valid password.</value>
          int MinRequiresNonAlphanumericCharacters
          {
               get;
          }

          /// <summary>
          ///      Gets the minimum length required for a password.
          /// </summary>
          /// <value>The minimum length required for a password.</value>
          int MinRequiresPasswordLength
          {
               get;
          }

          /// <summary>
          ///      Gets the number of minutes in which a maximum number of invalid password or
          ///      password-answer attempts are allowed before the membership user is locked out.
          /// </summary>
          /// <value>The number of minutes in which a maximum number of invalid password or password-
          ///      answer attempts are allowed before the membership user is locked out.</value>
          int PasswordAttemptWindow
          {
               get;
          }

          /// <summary>
          ///      Gets a value indicating the format for storing passwords in the membership data
          ///      store.
          /// </summary>
          /// <value>One of the
          ///      <see cref="MembershipPasswordFormat" />
          ///      values indicating the format
          ///      for storing passwords in the data store.</value>
          MembershipPasswordFormat PasswordFormat
          {
               get;
          }

          /// <summary>
          ///      Gets the regular expression used to evaluate a password.
          /// </summary>
          /// <value>A regular expression used to evaluate a password.</value>
          string PasswordStrengthRegularExpression
          {
               get;
          }

          /// <summary>
          ///      Processes a request to update the password for a membership user.
          /// </summary>
          /// <param name="username">The user to update the password for.</param>
          /// <param name="oldPassword">The current password for the specified user.</param>
          /// <param name="newPassword">The new password for the specified user.</param>
          /// <returns>true if the password was updated successfully; otherwise, false.</returns>
          bool ChangePassword(string username, string oldPassword, string newPassword);

          /// <summary>
          ///      Creates a
          ///      <see cref="MembershipUser" />
          ///      object populated for the newly created
          ///      user.
          /// </summary>
          /// <param name="username">The username for the new user.</param>
          /// <param name="password">The password for the new user.</param>
          /// <returns>A
          ///      <see cref="MembershipUser" />
          ///      object populated for the newly created user.</returns>
          MembershipUser CreateUser(string username, string password);

          /// <summary>
          ///      Deletes the user.
          /// </summary>
          /// <param name="username">The username of the user to delete.</param>
          /// <returns>true if the user was deleted; otherwise, false.</returns>
          bool DeleteUser(string username);

          /// <summary>
          ///      Gets all the connected users available online.
          /// </summary>
          /// <returns>The connected users available online.</returns>
          IEnumerable<MembershipUser> GetOnlineUsers();

          /// <summary>
          ///      Gets a
          ///      <see cref="MembershipUser" />
          ///      object.
          /// </summary>
          /// <param name="username">The username of the user to retrieve.</param>
          /// <returns>The
          ///      <see cref="MembershipUser" />
          ///      object.</returns>
          MembershipUser GetUser(string username);

          /// <summary>
          ///      Resets a user's password to a new, automatically generated password.
          /// </summary>
          /// <param name="username">The user to reset the password for.</param>
          /// <returns>The new password for the specified user.</returns>
          string ResetPassword(string username);

          /// <summary>
          ///      Clears a lock so that the membership user can be validated.
          /// </summary>
          /// <param name="username">The membership user whose lock status you want to clear.</param>
          /// <returns>true if the membership user was successfully unlocked; otherwise, false.</returns>
          bool UnlockUser(string username);

          /// <summary>
          ///      Updates the user with the current membership state.
          /// </summary>
          /// <param name="username">The username of the user to update.</param>
          /// <returns>true if the user was updated; otherwise, false.</returns>
          bool UpdateUser(string username);

          /// <summary>
          ///      Verifies that the specified user name and password exist.
          /// </summary>
          /// <param name="username">The name of the user to validate.</param>
          /// <param name="password">The password for the specified user.</param>
          /// <returns>true if the specified username and password are valid; otherwise, false.</returns>
          bool ValidateUser(string username, string password);
     }
}


The results I got prior to this update.

// --------------------------------------------------------------------------------------------------------------------
// <copyright file="IMembershipProvider.cs" company="Eyal Shilony">
//      © 2011 Eyal Shilony, All rights reserved.
// </copyright>
// --------------------------------------------------------------------------------------------------------------------

namespace DotNetDeluxe.Services.Web.Security
{
     using System;
     using System.Collections.Generic;

     /// <summary>
     ///      Represents a minimal contract that ASP.NET implements to provide membership services
     ///      using custom membership providers.
     /// </summary>
     /// <remarks>
     ///      Eyal Shilony, 22/11/2011.
     /// </remarks>
     public interface IMembershipProvider
     {
          /// <summary>
          ///      Occurs when the user is authenticated during changes to its account.
          /// </summary>
          event EventHandler<MembershipProviderEventArgs> AuthenticatingUser;

          /// <summary>
          ///      Occurs when creating a new user.
          /// </summary>
          event EventHandler<MembershipProviderEventArgs> CreatingUser;

          /// <summary>
          ///      Occurs when deleting a user.
          /// </summary>
          event EventHandler<MembershipProviderEventArgs> DeletingUser;

          /// <summary>
          ///      Occurs when a user is updating the account.
          /// </summary>
          event EventHandler<MembershipProviderEventArgs> UpdatingUser;

          /// <summary>
          ///      Gets or sets the name of the application using the custom membership provider.
          /// </summary>
          /// <value> The name of the application using the custom membership provider. </value>
          string ApplicationName
          {
               get;
               set;
          }

          /// <summary>
          ///      Gets a value indicating whether the membership provider is configured to allow
          ///      users to reset their passwords.
          /// </summary>
          /// <value>
          ///      true if the membership provider supports password reset; otherwise, false. the
          ///      default value is true.
          /// </value>
          bool EnablePasswordReset
          {
               get;
          }

          /// <summary>
          ///      Gets the number of invalid password or password-answer attempts allowed before
          ///      the membership user is locked out.
          /// </summary>
          /// <value>
          ///      The number of invalid password or password-answer attempts allowed before the
          ///      membership user is locked out.
          /// </value>
          int MaxInvalidPasswordAttempts
          {
               get;
          }

          /// <summary>
          ///      Gets the minimum number of special characters that must be present in a valid
          ///      password.
          /// </summary>
          /// <value>
          ///      The minimum number of special characters that must be present in a valid password.
          /// </value>
          int MinRequiresNonAlphanumericCharacters
          {
               get;
          }

          /// <summary>
          ///      Gets the minimum length required for a password.
          /// </summary>
          /// <value> The minimum length required for a password. </value>
          int MinRequiresPasswordLength
          {
               get;
          }

          /// <summary>
          ///      Gets the number of minutes in which a maximum number of invalid password or
          ///      password-answer attempts are allowed before the membership user is locked out.
          /// </summary>
          /// <value>
          ///      The number of minutes in which a maximum number of invalid password or password-
          ///      answer attempts are allowed before the membership user is locked out.
          /// </value>
          int PasswordAttemptWindow
          {
               get;
          }

          /// <summary>
          ///      Gets a value indicating the format for storing passwords in the membership data
          ///      store.
          /// </summary>
          /// <value>
          ///      One of the <see cref = "MembershipPasswordFormat" /> values indicating the format
          ///      for storing passwords in the data store.
          /// </value>
          MembershipPasswordFormat PasswordFormat
          {
               get;
          }

          /// <summary>
          ///      Gets the regular expression used to evaluate a password.
          /// </summary>
          /// <value> A regular expression used to evaluate a password. </value>
          string PasswordStrengthRegularExpression
          {
               get;
          }

          /// <summary>
          ///      Processes a request to update the password for a membership user.
          /// </summary>
          /// <param name = "username"> The user to update the password for. </param>
          /// <param name = "oldPassword"> The current password for the specified user. </param>
          /// <param name = "newPassword"> The new password for the specified user. </param>
          /// <returns> true if the password was updated successfully; otherwise, false. </returns>
          bool ChangePassword(string username, string oldPassword, string newPassword);

          /// <summary>
          ///      Creates a <see cref = "MembershipUser" /> object populated for the newly created
          ///      user.
          /// </summary>
          /// <param name = "username"> The username for the new user. </param>
          /// <param name = "password"> The password for the new user. </param>
          /// <returns>
          ///      A <see cref = "MembershipUser" /> object populated for the newly created user.
          /// </returns>
          MembershipUser CreateUser(string username, string password);

          /// <summary>
          ///      Deletes the user.
          /// </summary>
          /// <param name = "username"> The username of the user to delete. </param>
          /// <returns> true if the user was deleted; otherwise, false. </returns>
          bool DeleteUser(string username);

          /// <summary>
          ///      Gets all the connected users available online.
          /// </summary>
          /// <returns> The connected users available online. </returns>
          IEnumerable<MembershipUser> GetOnlineUsers();

          /// <summary>
          ///      Gets a <see cref = "MembershipUser" /> object.
          /// </summary>
          /// <param name = "username"> The username of the user to retrieve. </param>
          /// <returns> The <see cref = "MembershipUser" /> object. </returns>
          MembershipUser GetUser(string username);

          /// <summary>
          ///      Resets a user's password to a new, automatically generated password.
          /// </summary>
          /// <param name = "username"> The user to reset the password for. </param>
          /// <returns> The new password for the specified user. </returns>
          string ResetPassword(string username);

          /// <summary>
          ///      Clears a lock so that the membership user can be validated.
          /// </summary>
          /// <param name = "username">
          ///      The membership user whose lock status you want to clear.
          /// </param>
          /// <returns>
          ///      true if the membership user was successfully unlocked; otherwise, false.
          /// </returns>
          bool UnlockUser(string username);

          /// <summary>
          ///      Updates the user with the current membership state.
          /// </summary>
          /// <param name = "username"> The username of the user to update. </param>
          /// <returns> true if the user was updated; otherwise, false. </returns>
          bool UpdateUser(string username);

          /// <summary>
          ///      Verifies that the specified user name and password exist.
          /// </summary>
          /// <param name = "username"> The name of the user to validate. </param>
          /// <param name = "password"> The password for the specified user. </param>
          /// <returns>
          ///      true if the specified username and password are valid; otherwise, false.
          /// </returns>
          bool ValidateUser(string username, string password);
     }
}

1 comment
Comment actions Permalink

Hello Eyal
     Thank you for reporting this problem! I've logged it under http://youtrack.jetbrains.net/issue/RSRP-284320.

Andrey Serebryansky

Senior Support Engineer

JetBrains, Inc

http://www.jetbrains.com

"Develop with pleasure!"

0

Please sign in to leave a comment.