Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion Parse/Internal/Config/Controller/IParseConfigController.cs
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ interface IParseConfigController {
IParseCurrentConfigController CurrentConfigController { get; }

/// <summary>
/// Fetchs the config from the server asynchrounously.
/// Fetches the config from the server asynchronously.
/// </summary>
/// <returns>The config async.</returns>
/// <param name="sessionToken">Session token.</param>
Expand Down
2 changes: 1 addition & 1 deletion Parse/Internal/HttpClient/NetFx45/HttpClient.NetFx45.cs
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ public Task<Tuple<HttpStatusCode, string>> ExecuteAsync(HttpRequest httpRequest,
}
}
}
// Avoid aggresive caching on Windows Phone 8.1.
// Avoid aggressive caching on Windows Phone 8.1.
request.Headers["Cache-Control"] = "no-cache";

Task uploadTask = null;
Expand Down
2 changes: 1 addition & 1 deletion Parse/Internal/HttpClient/Phone/HttpClient.Phone.cs
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ public Task<Tuple<HttpStatusCode, string>> ExecuteAsync(HttpRequest httpRequest,
}
}
}
// Avoid aggresive caching on Windows Phone 8.1.
// Avoid aggressive caching on Windows Phone 8.1.
request.Headers[HttpRequestHeader.CacheControl] = "no-cache";
request.Headers[HttpRequestHeader.IfModifiedSince] = DateTime.UtcNow.ToString();

Expand Down
2 changes: 1 addition & 1 deletion Parse/Internal/HttpClient/WinRT/HttpClient.WinRT.cs
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ public Task<Tuple<HttpStatusCode, string>> ExecuteAsync(HttpRequest httpRequest,
}
}
}
// Avoid aggresive caching on Windows Phone 8.1.
// Avoid aggressive caching on Windows Phone 8.1.
request.Headers["Cache-Control"] = "no-cache";

Task uploadTask = null;
Expand Down
2 changes: 1 addition & 1 deletion Parse/Internal/HttpClient/iOS/HttpClient.iOS.cs
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ public Task<Tuple<HttpStatusCode, string>> ExecuteAsync(HttpRequest httpRequest,
}
}
}
// Avoid aggresive caching on Windows Phone 8.1.
// Avoid aggressive caching on Windows Phone 8.1.
request.Headers.Add("Cache-Control", "no-cache");

Task uploadTask = null;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ interface IInstallationIdController {
/// <summary>
/// Gets current <code>installationId</code> from local storage. Generates a none exists.
/// </summary>
/// <returns>Current <code>installationid</code>.</returns>
/// <returns>Current <code>installationId</code>.</returns>
Guid? Get();

/// <summary>
Expand Down
4 changes: 2 additions & 2 deletions Parse/Internal/PlatformHooks/Phone/PlatformHooks.Phone.cs
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ partial class PlatformHooks : IPlatformHooks {
/// channel for each contact and the UI needs to pop up on the right tile). The expansion job
/// generically has one _Installation field it passes to device-specific code, so we store a map
/// of tag -> channel URI. Right now, there is only one valid tag and it is automatic.
/// Unsed variable warnings are suppressed becaue this const is used in WinRT and WinPhone but not NetFx.
/// Unused variable warnings are suppressed because this const is used in WinRT and WinPhone but not NetFx.
/// </summary>
static readonly string toastChannelTag = "_Toast";

Expand All @@ -33,7 +33,7 @@ partial class PlatformHooks : IPlatformHooks {
// Note: We could bind to the ChannelUriUpdated event & automatically save instead of checking
// whether the channel has changed on demand. This is more seamless but adds API requests for a
// feature that may not be in use. Maybe we should build an auto-update feature in the future?
// Or mabye Push.subscribe calls will always be a save & that should be good enough for us.
// Or maybe Push.subscribe calls will always be a save & that should be good enough for us.
toastChannel.Open();
}

Expand Down
2 changes: 1 addition & 1 deletion Parse/Internal/PlatformHooks/WinRT/PlatformHooks.WinRT.cs
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ partial class PlatformHooks : IPlatformHooks {
/// channel for each contact and the UI needs to pop up on the right tile). The expansion job
/// generically has one _Installation field it passes to device-specific code, so we store a map
/// of tag -> channel URI. Right now, there is only one valid tag and it is automatic.
/// Unsed variable warnings are suppressed because this const is used in WinRT and WinPhone but not NetFx.
/// Unused variable warnings are suppressed because this const is used in WinRT and WinPhone but not NetFx.
/// </summary>
private static readonly string defaultChannelTag = "_Default";

Expand Down
8 changes: 4 additions & 4 deletions Parse/Internal/PlatformHooks/iOS/PlatformHooks.iOS.cs
Original file line number Diff line number Diff line change
Expand Up @@ -534,8 +534,8 @@ internal static MemberExpression Update(this MemberExpression expr, Expression o
return Expression.MakeMemberAccess(obj, expr.Member);
}

internal static MemberAssignment Update(this MemberAssignment assgn, Expression expr) {
return Expression.Bind(assgn.Member, expr);
internal static MemberAssignment Update(this MemberAssignment assign, Expression expr) {
return Expression.Bind(assign.Member, expr);
}

internal static InvocationExpression Update(this InvocationExpression expr,
Expand Down Expand Up @@ -695,8 +695,8 @@ protected virtual Expression VisitMember(MemberExpression expr) {
return expr.Update(Visit(expr.Expression));
}

protected virtual MemberAssignment VisitMemberAssignment(MemberAssignment assgn) {
return assgn.Update(Visit(assgn.Expression));
protected virtual MemberAssignment VisitMemberAssignment(MemberAssignment assign) {
return assign.Update(Visit(assign.Expression));
}

protected virtual MemberBinding VisitMemberBinding(MemberBinding binding) {
Expand Down
4 changes: 2 additions & 2 deletions Parse/Internal/Utilities/Json.cs
Original file line number Diff line number Diff line change
Expand Up @@ -238,7 +238,7 @@ private bool Accept(Regex matcher, out Match match) {
}

/// <summary>
/// Find the first occurences of a character, consuming part of the string.
/// Find the first occurrences of a character, consuming part of the string.
/// </summary>
private bool Accept(char condition) {
int step = 0;
Expand Down Expand Up @@ -277,7 +277,7 @@ private bool Accept(char condition) {
}

/// <summary>
/// Find the first occurences of a string, consuming part of the string.
/// Find the first occurrences of a string, consuming part of the string.
/// </summary>
private bool Accept(char[] condition) {
int step = 0;
Expand Down
2 changes: 1 addition & 1 deletion Parse/Public/ParseClient.cs
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,7 @@ public static void Initialize(string applicationId, string dotnetKey) {
/// way is to put a call to <c>ParseFramework.Initialize</c> in your
/// Application startup.
/// </summary>
/// <param name="configuration">The configuration to initialze Parse with.
/// <param name="configuration">The configuration to initialize Parse with.
/// </param>
public static void Initialize(Configuration configuration) {
lock (mutex) {
Expand Down
2 changes: 1 addition & 1 deletion Parse/Public/ParseExtensions.cs
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,7 @@ public static Task<T> FetchAsync<T>(this T obj, CancellationToken cancellationTo
/// If this ParseObject has not been fetched (i.e. <see cref="ParseObject.IsDataAvailable"/> returns
/// false), fetches this object with the data from the server.
/// </summary>
/// <param name="obj">The ParseObjhect to fetch.</param>
/// <param name="obj">The ParseObject to fetch.</param>
public static Task<T> FetchIfNeededAsync<T>(this T obj) where T : ParseObject {
return obj.FetchIfNeededAsyncInternal(CancellationToken.None).OnSuccess(t => (T)t.Result);
}
Expand Down
2 changes: 1 addition & 1 deletion Parse/Public/ParseInstallation.cs
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
namespace Parse {

/// <summary>
/// Represents this app installed on this device. Use this class to track infomation you want
/// Represents this app installed on this device. Use this class to track information you want
/// to sample from (i.e. if you update a field on app launch, you can issue a query to see
/// the number of devices which were active in the last N hours).
/// </summary>
Expand Down
2 changes: 1 addition & 1 deletion Parse/Public/Partial/ParsePush.cs
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +134,7 @@ public IDictionary<string, object> Data {
}

/// <summary>
/// A conveninence method which sets Data to a dictionary with alert as its only field. Equivalent to
/// A convenience method which sets Data to a dictionary with alert as its only field. Equivalent to
///
/// <code>
/// Data = new Dictionary&lt;string, object&gt; {{"alert", alert}};
Expand Down
4 changes: 2 additions & 2 deletions Parse/Public/Phone/ParseFacebookUtils.Phone.cs
Original file line number Diff line number Diff line change
Expand Up @@ -193,7 +193,7 @@ public static async Task<ParseUser> LogInAsync(WebBrowser webView,

/// <summary>
/// Links a <see cref="ParseUser" /> to a Facebook account, allowing you to use Facebook
/// for authentication, and providing access to Facebook datta for the user.
/// for authentication, and providing access to Facebook data for the user.
///
/// The user will be logged in through Facebook's OAuth web flow, so you must supply a
/// <paramref name="webView"/> that will be navigated to Facebook's authentication pages.
Expand Down Expand Up @@ -234,7 +234,7 @@ public static Task<ParseUser> LogInAsync(WebBrowser webView, IEnumerable<string>

/// <summary>
/// Links a <see cref="ParseUser" /> to a Facebook account, allowing you to use Facebook
/// for authentication, and providing access to Facebook datta for the user.
/// for authentication, and providing access to Facebook data for the user.
///
/// The user will be logged in through Facebook's OAuth web flow, so you must supply a
/// <paramref name="webView"/> that will be navigated to Facebook's authentication pages.
Expand Down
2 changes: 1 addition & 1 deletion Parse/Public/Unity/ParseInitializeBehaviour.cs
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ private void Initialize() {

/// <summary>
/// The callback that will be called from the Android Java land via <c>UnityPlayer.UnitySendMessage(string)</c>
/// when the device receive a push notificaiton.
/// when the device receive a push notification.
/// </summary>
/// <param name="pushPayloadString">the push payload as string</param>
internal void OnPushNotificationReceived(string pushPayloadString) {
Expand Down
2 changes: 1 addition & 1 deletion Parse/Public/WinRT/ParsePush.WinRT.cs
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ public static IDictionary<string, object> PushJson(PushNotificationReceivedEvent

/// <summary>
/// Because the Windows API doesn't allow us to create a PushNotificationReceivedEventArgs, nor is there
/// an interface for the class, we cannot test the PushJson(PNREA) method at all. We will isntead try to
/// an interface for the class, we cannot test the PushJson(PNREA) method at all. We will instead try to
/// make it as small as possible and test a method that uses the first class which does allow instantiation.
/// </summary>
/// <param name="toast"></param>
Expand Down