Skip to content

Commit 221b615

Browse files
committed
more spelling
1 parent 73c52f9 commit 221b615

File tree

19 files changed

+41
-41
lines changed

19 files changed

+41
-41
lines changed

Microsoft.Toolkit.Services/Core/IAuthenticationBroker.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ public interface IAuthenticationBroker
1818
/// <summary>
1919
/// Returns the authentication status, it could be UserCancel, ErrorHttp and Success.
2020
/// </summary>
21-
/// <param name="requestUri"> Autorization base url</param>
21+
/// <param name="requestUri"> Authorization base url</param>
2222
/// <param name="callbackUri"> LinkedInOAuthTokens callbackUri</param>
2323
/// <returns> Returns a status </returns>
2424
Task<AuthenticationResult> Authenticate(Uri requestUri, Uri callbackUri);

Microsoft.Toolkit.Services/Exceptions/ConfigNullException.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ public ConfigNullException(string message)
3131

3232
/// <summary>
3333
/// Initializes a new instance of the <see cref="ConfigNullException"/> class.
34-
/// Constructor accepting additonal message string and inner exception
34+
/// Constructor accepting additional message string and inner exception
3535
/// </summary>
3636
/// <param name="message">Additional error information.</param>
3737
/// <param name="innerException">Reference to inner exception.</param>

Microsoft.Toolkit.Services/Exceptions/OAuthKeysRevokedException.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ public OAuthKeysRevokedException(string message)
3333
/// Initializes a new instance of the <see cref="OAuthKeysRevokedException"/> class.
3434
/// Constructor with additional message and inner exception.
3535
/// </summary>
36-
/// <param name="message">Additionnal message.</param>
36+
/// <param name="message">Additional message.</param>
3737
/// <param name="innerException">Reference to inner exception.</param>
3838
public OAuthKeysRevokedException(string message, Exception innerException)
3939
: base(message, innerException)

Microsoft.Toolkit.Services/PlatformSpecific/NETFramework/NetFrameworkAuthenticationBroker.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ public Task<AuthenticationResult> Authenticate(Uri requestUri, Uri callbackUri)
2121
}
2222
else if (Application.Current != null)
2323
{
24-
return AutenticateWindow(requestUri, callbackUri);
24+
return this.AuthenticateWindow(requestUri, callbackUri);
2525
}
2626
else
2727
{
@@ -30,7 +30,7 @@ public Task<AuthenticationResult> Authenticate(Uri requestUri, Uri callbackUri)
3030
}
3131
}
3232

33-
public async Task<AuthenticationResult> AutenticateWindow(Uri requestUri, Uri callbackUri)
33+
public async Task<AuthenticationResult> AuthenticateWindow(Uri requestUri, Uri callbackUri)
3434
{
3535
PopupWPF popupWindow;
3636
var taskCompletionSource = new TaskCompletionSource<AuthenticationResult>();

Microsoft.Toolkit.Services/Services/LinkedIn/LinkedInDataProvider.cs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -171,9 +171,9 @@ public void Logout()
171171
/// <returns>A <see cref="Task"/> representing the asynchronous operation.</returns>
172172
public async Task LogoutAsync()
173173
{
174-
var crendential = _passwordManager.Get(LinkedInConstants.STORAGEKEYACCESSTOKEN);
174+
var credential = _passwordManager.Get(LinkedInConstants.STORAGEKEYACCESSTOKEN);
175175

176-
if (crendential != null)
176+
if (credential != null)
177177
{
178178
_passwordManager.Remove(LinkedInConstants.STORAGEKEYACCESSTOKEN);
179179
await _storageManager.SetAsync(LinkedInConstants.STORAGEKEYUSER, null);
@@ -189,7 +189,7 @@ public async Task LogoutAsync()
189189
/// <param name="config">Query configuration.</param>
190190
/// <param name="maxRecords">Upper limit for records returned.</param>
191191
/// <param name="startRecord">Index of paged results.</param>
192-
/// <param name="fields">A comma seperated string of required fields, which will have strongly typed representation in the model passed in.</param>
192+
/// <param name="fields">A comma separated string of required fields, which will have strongly typed representation in the model passed in.</param>
193193
/// <returns>Strongly typed list of results.</returns>
194194
public async Task<IEnumerable<TSchema>> GetDataAsync<TSchema>(LinkedInDataConfig config, int maxRecords, int startRecord = 0, string fields = "id")
195195
{

Microsoft.Toolkit.Services/Services/LinkedIn/LinkedInService.cs

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -138,7 +138,7 @@ public bool Initialize(string clientId, string clientSecret, string callbackUri)
138138

139139
#if NET462
140140
/// <summary>
141-
/// Initialize underlying provider with relevent token information for Uwp.
141+
/// Initialize underlying provider with relevant token information for Uwp.
142142
/// </summary>
143143
/// <param name="oAuthTokens">Token instance.</param>
144144
/// <param name="requiredPermissions">Scope / permissions app requires user to sign up for.</param>
@@ -149,7 +149,7 @@ public bool Initialize(LinkedInOAuthTokens oAuthTokens, LinkedInPermissions requ
149149
}
150150

151151
/// <summary>
152-
/// Initialize underlying provider with relevent token information.
152+
/// Initialize underlying provider with relevant token information.
153153
/// </summary>
154154
/// <param name="clientId">Client Id.</param>
155155
/// <param name="clientSecret">Client secret.</param>
@@ -162,7 +162,7 @@ public bool Initialize(string clientId, string clientSecret, string callbackUri)
162162
#endif
163163

164164
/// <summary>
165-
/// Initialize underlying provider with relevent token information.
165+
/// Initialize underlying provider with relevant token information.
166166
/// </summary>
167167
/// <param name="clientId">Client Id.</param>
168168
/// <param name="clientSecret">Client secret.</param>
@@ -199,7 +199,7 @@ public bool Initialize(string clientId, string clientSecret, string callbackUri,
199199
}
200200

201201
/// <summary>
202-
/// Initialize underlying provider with relevent token information.
202+
/// Initialize underlying provider with relevant token information.
203203
/// </summary>
204204
/// <param name="oAuthTokens">Token instance.</param>
205205
/// <param name="authentication">Authentication result interface.</param>
@@ -231,7 +231,7 @@ public bool Initialize(LinkedInOAuthTokens oAuthTokens, IAuthenticationBroker au
231231
/// <param name="config">LinkedInDataConfig instance.</param>
232232
/// <param name="maxRecords">Upper limit of records to return.</param>
233233
/// <param name="startRecord">Index of paged results.</param>
234-
/// <param name="fields">A comma seperated string of required fields, which will have strongly typed representation in the model passed in.</param>
234+
/// <param name="fields">A comma separated string of required fields, which will have strongly typed representation in the model passed in.</param>
235235
/// <returns>Strongly typed list of data returned from the service.</returns>
236236
public async Task<List<T>> RequestAsync<T>(LinkedInDataConfig config, int maxRecords = 20, int startRecord = 0, string fields = "id")
237237
{

Microsoft.Toolkit.Services/Services/MicrosoftTranslator/ITranslatorService.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ public interface ITranslatorService
3535
/// <returns>A <see cref="Task"/> that represents the initialize operation.</returns>
3636
/// <exception cref="ArgumentNullException">The <see cref="SubscriptionKey"/> property hasn't been set.</exception>
3737
/// <exception cref="TranslatorServiceException">The provided <see cref="SubscriptionKey"/> isn't valid or has expired.</exception>
38-
/// <remarks>Calling this method isn't mandatory, because the token is get/refreshed everytime is needed. However, it is called at startup, it can speed-up subsequest requests.</remarks>
38+
/// <remarks>Calling this method isn't mandatory, because the token is get/refreshed every time is needed. However, it is called at startup, it can speed-up subsequent requests.</remarks>
3939
Task InitializeAsync();
4040

4141
/// <summary>
@@ -47,7 +47,7 @@ public interface ITranslatorService
4747
/// <exception cref="ArgumentNullException">The <see cref="SubscriptionKey"/> property hasn't been set.</exception>
4848
/// <exception cref="TranslatorServiceException">The provided <see cref="SubscriptionKey"/> isn't valid or has expired.</exception>
4949
/// <remarks>
50-
/// <para>Calling this method isn't mandatory, because the token is get/refreshed everytime is needed. However, it is called at startup, it can speed-up subsequest requests.</para>
50+
/// <para>Calling this method isn't mandatory, because the token is get/refreshed every time is needed. However, it is called at startup, it can speed-up subsequent requests.</para>
5151
/// <para>You must register Microsoft Translator on https://portal.azure.com to obtain the Subscription key needed to use the service.</para>
5252
/// </remarks>
5353
Task InitializeAsync(string subscriptionKey, string language = null);

Microsoft.Toolkit.Services/Services/MicrosoftTranslator/ServiceLanguage.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
namespace Microsoft.Toolkit.Services.MicrosoftTranslator
88
{
99
/// <summary>
10-
/// Holds information about langagues supported for text translation and speech synthesis.
10+
/// Holds information about languages supported for text translation and speech synthesis.
1111
/// </summary>
1212
/// <seealso cref="ITranslatorService.GetLanguageNamesAsync(string)"/>
1313
public class ServiceLanguage

Microsoft.Toolkit.Services/Services/Twitter/Tweet.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,7 @@ public string Text
100100
public TwitterUser User { get; set; }
101101

102102
/// <summary>
103-
/// Gets or sets geo coordinates (latitude and logitude) returned by Twitter for some locations
103+
/// Gets or sets geo coordinates (latitude and longitude) returned by Twitter for some locations
104104
/// </summary>
105105
[JsonProperty("coordinates")]
106106
[JsonConverter(typeof(TwitterCoordinatesConverter))]

Microsoft.Toolkit.Services/Services/Twitter/TwitterDataProvider.cs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -227,12 +227,12 @@ public async Task<IEnumerable<TSchema>> SearchAsync<TSchema>(string hashTag, int
227227
/// <returns>Boolean indicating login success.</returns>
228228
public async Task<bool> LoginAsync()
229229
{
230-
var crendetials = _passwordManager.Get("TwitterAccessToken");
230+
var credentials = _passwordManager.Get("TwitterAccessToken");
231231
var user = await _storageManager.GetAsync("TwitterScreenName");
232-
if (!string.IsNullOrEmpty(user) && crendetials != null)
232+
if (!string.IsNullOrEmpty(user) && credentials != null)
233233
{
234-
_tokens.AccessToken = crendetials.UserName;
235-
_tokens.AccessTokenSecret = crendetials.Password;
234+
_tokens.AccessToken = credentials.UserName;
235+
_tokens.AccessTokenSecret = credentials.Password;
236236
UserScreenName = user;
237237
LoggedIn = true;
238238
return true;

0 commit comments

Comments
 (0)