Skip to content

Commit 475cad7

Browse files
committed
Improved wording in documentation
1 parent 8dd2ad2 commit 475cad7

3 files changed

Lines changed: 17 additions & 17 deletions

File tree

src/corelib/Core/Providers/IIdentityProvider.cs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ public interface IIdentityProvider
5050
/// <summary>
5151
/// Lists global roles for a specified user. Excludes tenant roles.
5252
/// </summary>
53-
/// <param name="userId">The user's ID. The behavior is unspecified if this value is not obtained from <see cref="User.Id"/>.</param>
53+
/// <param name="userId">The user's ID. This is obtained from <see cref="User.Id">User.Id</see>.</param>
5454
/// <param name="identity">The cloud identity to use for this request. If not specified, the <see cref="DefaultIdentity"/> for the current provider instance will be used.</param>
5555
/// <returns>A collection of <see cref="Role"/> objects describing the roles for the specified user.</returns>
5656
/// <exception cref="ArgumentNullException">If <paramref name="userId"/> is <c>null</c>.</exception>
@@ -163,7 +163,7 @@ public interface IIdentityProvider
163163
/// <summary>
164164
/// Deletes the specified user from the account.
165165
/// </summary>
166-
/// <param name="userId">The user ID. The behavior is unspecified if this is not obtained from <see cref="User.Id"/> or <see cref="NewUser.Id"/>.</param>
166+
/// <param name="userId">The user ID. This is obtained from <see cref="User.Id"/> or <see cref="NewUser.Id"/>.</param>
167167
/// <param name="identity">The cloud identity to use for this request. If not specified, the <see cref="DefaultIdentity"/> for the current provider instance will be used.</param>
168168
/// <returns><c>true</c> if the user was successfully deleted; otherwise, <c>false</c>.</returns>
169169
/// <exception cref="ArgumentNullException">If <paramref name="userId"/> is <c>null</c>.</exception>
@@ -181,7 +181,7 @@ public interface IIdentityProvider
181181
/// <summary>
182182
/// Lists the credentials for the specified user.
183183
/// </summary>
184-
/// <param name="userId">The user ID. The behavior is unspecified if this is not obtained from <see cref="User.Id"/> or <see cref="NewUser.Id"/>.</param>
184+
/// <param name="userId">The user ID. This is obtained from <see cref="User.Id"/> or <see cref="NewUser.Id"/>.</param>
185185
/// <param name="identity">The cloud identity to use for this request. If not specified, the <see cref="DefaultIdentity"/> for the current provider instance will be used.</param>
186186
/// <returns>List of <see cref="UserCredential"/> objects describing the credentials of the specified user.</returns>
187187
/// <exception cref="ArgumentNullException">If <paramref name="userId"/> is <c>null</c>.</exception>
@@ -228,7 +228,7 @@ public interface IIdentityProvider
228228
/// <summary>
229229
/// Gets the specified user credential.
230230
/// </summary>
231-
/// <param name="userId">The user ID. The behavior is unspecified if this is not obtained from <see cref="User.Id"/> or <see cref="NewUser.Id"/>.</param>
231+
/// <param name="userId">The user ID. This is obtained from <see cref="User.Id"/> or <see cref="NewUser.Id"/>.</param>
232232
/// <param name="credentialKey">The credential key.</param>
233233
/// <param name="identity">The cloud identity to use for this request. If not specified, the <see cref="DefaultIdentity"/> for the current provider instance will be used.</param>
234234
/// <returns>The <see cref="UserCredential"/> details for the specified credentials type.</returns>

src/corelib/Core/Providers/INetworksProvider.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ public interface INetworksProvider
6868
/// <summary>
6969
/// Retrieve details for the specified network.
7070
/// </summary>
71-
/// <param name="networkId">ID of the network to retrieve. The behavior is unspecified if this is not obtained from <see cref="CloudNetwork.Id"/>.</param>
71+
/// <param name="networkId">ID of the network to retrieve. This is obtained from <see cref="CloudNetwork.Id"/>.</param>
7272
/// <param name="region">The region in which to execute this action. If not specified, the user's default region will be used.</param>
7373
/// <param name="identity">The cloud identity to use for this request. If not specified, the default identity for the current provider instance will be used.</param>
7474
/// <returns>A <see cref="CloudNetwork"/> instance containing the network details.</returns>
@@ -91,7 +91,7 @@ public interface INetworksProvider
9191
/// <summary>
9292
/// Deletes the specified network. <remarks>You cannot delete an isolated network unless the network is not attached to any server.</remarks>
9393
/// </summary>
94-
/// <param name="networkId">ID of the network to delete. The behavior is unspecified if this is not obtained from <see cref="CloudNetwork.Id"/>.</param>
94+
/// <param name="networkId">ID of the network to delete. This is obtained from <see cref="CloudNetwork.Id"/>.</param>
9595
/// <param name="region">The region in which to execute this action. If not specified, the user's default region will be used.</param>
9696
/// <param name="identity">The cloud identity to use for this request. If not specified, the default identity for the current provider instance will be used.</param>
9797
/// <returns><c>true</c> if the network was successfully deleted; otherwise, <c>false</c>.</returns>

src/corelib/Providers/Rackspace/IExtendedCloudIdentityProvider.cs

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ public interface IExtendedCloudIdentityProvider : IIdentityProvider
3333
/// <summary>
3434
/// Lists all users for a given role.
3535
/// </summary>
36-
/// <param name="roleId">The role ID. The behavior is unspecified if this is not obtained from <see cref="Role.Id"/>.</param>
36+
/// <param name="roleId">The role ID. This is obtained from <see cref="Role.Id">Role.Id</see>.</param>
3737
/// <param name="enabled">Allows you to filter enabled or un-enabled users. If the value is <c>null</c>, a provider-specific default value is used.</param>
3838
/// <param name="marker">The index of the last item in the previous list. Used for pagination. If the value is <c>null</c>, the list starts at the beginning.</param>
3939
/// <param name="limit">Indicates the maximum number of items to return. Used for pagination. If the value is <c>null</c>, a provider-specific default value is used.</param>
@@ -67,7 +67,7 @@ public interface IExtendedCloudIdentityProvider : IIdentityProvider
6767
/// <summary>
6868
/// Gets details about the specified role.
6969
/// </summary>
70-
/// <param name="roleId">The role ID. The behavior is unspecified if this is not obtained from <see cref="Role.Id">Role.Id</see>.</param>
70+
/// <param name="roleId">The role ID. This is obtained from <see cref="Role.Id">Role.Id</see>.</param>
7171
/// <param name="identity">The cloud identity to use for this request. If not specified, the default identity for the current provider instance will be used.</param>
7272
/// <returns>A <see cref="Role"/> containing the details of the role.</returns>
7373
/// <exception cref="ArgumentNullException">If <paramref name="roleId"/> is <c>null</c>.</exception>
@@ -85,8 +85,8 @@ public interface IExtendedCloudIdentityProvider : IIdentityProvider
8585
/// <summary>
8686
/// Adds the specified global role to the user.
8787
/// </summary>
88-
/// <param name="userId">The user ID. The behavior is unspecified if this is not obtained from <see cref="NewUser.Id"/> or <see cref="User.Id"/>.</param>
89-
/// <param name="roleId">The role ID. The behavior is unspecified if this is not obtained from <see cref="Role.Id"/>.</param>
88+
/// <param name="userId">The user ID. This is obtained from <see cref="NewUser.Id"/> or <see cref="User.Id"/>.</param>
89+
/// <param name="roleId">The role ID. This is obtained from <see cref="Role.Id"/>.</param>
9090
/// <param name="identity">The cloud identity to use for this request. If not specified, the default identity for the current provider instance will be used.</param>
9191
/// <returns><c>true</c> if the role was removed from the user; otherwise, <c>false</c>.</returns>
9292
/// <exception cref="ArgumentNullException">
@@ -112,8 +112,8 @@ public interface IExtendedCloudIdentityProvider : IIdentityProvider
112112
/// <summary>
113113
/// Deletes the specified global role from the user.
114114
/// </summary>
115-
/// <param name="userId">The user ID. The behavior is unspecified if this is not obtained from <see cref="NewUser.Id"/> or <see cref="User.Id"/>.</param>
116-
/// <param name="roleId">The role ID. The behavior is unspecified if this is not obtained from <see cref="Role.Id"/>.</param>
115+
/// <param name="userId">The user ID. This is obtained from <see cref="NewUser.Id"/> or <see cref="User.Id"/>.</param>
116+
/// <param name="roleId">The role ID. This is obtained from <see cref="Role.Id"/>.</param>
117117
/// <param name="identity">The cloud identity to use for this request. If not specified, the default identity for the current provider instance will be used.</param>
118118
/// <returns><c>true</c> if the role was removed from the user; otherwise, <c>false</c>.</returns>
119119
/// <exception cref="ArgumentNullException">
@@ -145,7 +145,7 @@ public interface IExtendedCloudIdentityProvider : IIdentityProvider
145145
/// method, where the credentials are always specified in the form of an API key.
146146
/// </remarks>
147147
/// <returns>A <see cref="UserCredential"/> object containing the updated user information.</returns>
148-
/// <param name="userId">The user ID. The behavior is unspecified if this is not obtained from <see cref="NewUser.Id"/> or <see cref="User.Id"/>.</param>
148+
/// <param name="userId">The user ID. This is obtained from <see cref="NewUser.Id"/> or <see cref="User.Id"/>.</param>
149149
/// <param name="apiKey">The new API key.</param>
150150
/// <param name="identity">The cloud identity to use for this request. If not specified, the default identity for the current provider instance will be used.</param>
151151
/// <exception cref="ArgumentNullException">
@@ -176,7 +176,7 @@ public interface IExtendedCloudIdentityProvider : IIdentityProvider
176176
/// <see href="http://docs.openstack.org/api/openstack-identity-service/2.0/content/DELETE_deleteUserCredential_v2.0_users__userId__OS-KSADM_credentials__credential-type__.html">Delete User Credentials</see>
177177
/// method, where the credentials are always specified in the form of an API key.
178178
/// </remarks>
179-
/// <param name="userId">The user ID. The behavior is unspecified if this is not obtained from <see cref="NewUser.Id"/> or <see cref="User.Id"/>.</param>
179+
/// <param name="userId">The user ID. This is obtained from <see cref="NewUser.Id"/> or <see cref="User.Id"/>.</param>
180180
/// <param name="identity">The cloud identity to use for this request. If not specified, the default identity for the current provider instance will be used.</param>
181181
/// <returns><c>true</c> if the credentials were removed from the user; otherwise, <c>false</c>.</returns>
182182
/// <exception cref="ArgumentNullException">If <paramref name="userId"/> is <c>null</c>.</exception>
@@ -194,7 +194,7 @@ public interface IExtendedCloudIdentityProvider : IIdentityProvider
194194
/// <summary>
195195
/// Sets the password for the specified user.
196196
/// </summary>
197-
/// <param name="userId">The user ID. The behavior is unspecified if this is not obtained from <see cref="NewUser.Id"/> or <see cref="User.Id"/>.</param>
197+
/// <param name="userId">The user ID. This is obtained from <see cref="NewUser.Id"/> or <see cref="User.Id"/>.</param>
198198
/// <param name="password">The new password.</param>
199199
/// <param name="identity">The cloud identity to use for this request. If not specified, the default identity for the current provider instance will be used.</param>
200200
/// <returns><c>true</c> if the operation succeeded; otherwise, <c>false</c>.</returns>
@@ -250,7 +250,7 @@ public interface IExtendedCloudIdentityProvider : IIdentityProvider
250250
/// <summary>
251251
/// Updates the username and password for the specified user.
252252
/// </summary>
253-
/// <param name="userId">The user ID. The behavior is unspecified if this is not obtained from <see cref="NewUser.Id"/> or <see cref="User.Id"/>.</param>
253+
/// <param name="userId">The user ID. This is obtained from <see cref="NewUser.Id"/> or <see cref="User.Id"/>.</param>
254254
/// <param name="username">The new username.</param>
255255
/// <param name="password">The new password.</param>
256256
/// <param name="identity">The cloud identity to use for this request. If not specified, the default identity for the current provider instance will be used.</param>
@@ -321,7 +321,7 @@ public interface IExtendedCloudIdentityProvider : IIdentityProvider
321321
/// <see href="http://docs.openstack.org/api/openstack-identity-service/2.0/content/POST_updateUserCredential_v2.0_users__userId__OS-KSADM_credentials__credential-type__.html">Update User Credentials</see>
322322
/// method, where the credentials are always specified in the form of an API key.
323323
/// </remarks>
324-
/// <param name="userId">The user ID. The behavior is unspecified if this is not obtained from <see cref="NewUser.Id"/> or <see cref="User.Id"/>.</param>
324+
/// <param name="userId">The user ID. This is obtained from <see cref="NewUser.Id"/> or <see cref="User.Id"/>.</param>
325325
/// <param name="username">The new username.</param>
326326
/// <param name="apiKey">The new API key.</param>
327327
/// <param name="identity">The cloud identity to use for this request. If not specified, the default identity for the current provider instance will be used.</param>

0 commit comments

Comments
 (0)