Skip to content

Commit 7f43eb6

Browse files
committed
Fix up some whitespace
1 parent 77a8e8b commit 7f43eb6

File tree

5 files changed

+37
-39
lines changed

5 files changed

+37
-39
lines changed

PushSharp.Core/Exceptions.cs

Lines changed: 20 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -2,33 +2,33 @@
22

33
namespace PushSharp.Core
44
{
5-
public class DeviceSubscriptonExpiredException : Exception
6-
{
7-
public DeviceSubscriptonExpiredException() : base("Device Subscription has Expired")
8-
{
5+
public class DeviceSubscriptonExpiredException : Exception
6+
{
7+
public DeviceSubscriptonExpiredException () : base ("Device Subscription has Expired")
8+
{
99
ExpiredAt = DateTime.UtcNow;
10-
}
10+
}
1111

12-
public string OldSubscriptionId { get;set; }
13-
public string NewSubscriptionId { get;set; }
14-
public DateTime ExpiredAt { get;set; }
15-
}
12+
public string OldSubscriptionId { get; set; }
13+
public string NewSubscriptionId { get; set; }
14+
public DateTime ExpiredAt { get; set; }
15+
}
1616

17-
public class NotificationException : Exception
18-
{
19-
public NotificationException(string message, INotification notification) : base(message)
20-
{
21-
Notification = notification;
22-
}
17+
public class NotificationException : Exception
18+
{
19+
public NotificationException (string message, INotification notification) : base (message)
20+
{
21+
Notification = notification;
22+
}
2323

24-
public NotificationException(string message, INotification notification, Exception innerException)
25-
: base(message, innerException)
24+
public NotificationException (string message, INotification notification, Exception innerException)
25+
: base (message, innerException)
2626
{
2727
Notification = notification;
2828
}
2929

30-
public INotification Notification { get;set; }
31-
}
30+
public INotification Notification { get; set; }
31+
}
3232

3333
public class RetryAfterException : Exception
3434
{
@@ -37,7 +37,6 @@ public RetryAfterException (string message, DateTime retryAfterUtc) : base (mess
3737
RetryAfterUtc = retryAfterUtc;
3838
}
3939

40-
public DateTime RetryAfterUtc { get;set; }
40+
public DateTime RetryAfterUtc { get; set; }
4141
}
4242
}
43-

PushSharp.Core/INotification.cs

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,9 @@
22

33
namespace PushSharp.Core
44
{
5-
public interface INotification
6-
{
7-
bool IsDeviceRegistrationIdValid();
8-
object Tag { get;set; }
9-
}
5+
public interface INotification
6+
{
7+
bool IsDeviceRegistrationIdValid ();
8+
object Tag { get; set; }
9+
}
1010
}
11-

PushSharp.Core/IServiceBroker.cs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,16 +2,16 @@
22

33
namespace PushSharp.Core
44
{
5-
public interface IServiceBroker<TNotification> where TNotification : INotification
6-
{
5+
public interface IServiceBroker<TNotification> where TNotification : INotification
6+
{
77
event NotificationSuccessDelegate<TNotification> OnNotificationSucceeded;
88
event NotificationFailureDelegate<TNotification> OnNotificationFailed;
99

1010
System.Collections.Generic.IEnumerable<TNotification> TakeMany ();
11-
bool IsCompleted { get; }
11+
bool IsCompleted { get; }
1212

1313
void RaiseNotificationSucceeded (TNotification notification);
1414
void RaiseNotificationFailed (TNotification notification, AggregateException ex);
15-
}
15+
}
1616
}
1717

PushSharp.Core/IServiceConnection.cs

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -3,12 +3,12 @@
33

44
namespace PushSharp.Core
55
{
6-
public delegate void NotificationSuccessDelegate<TNotification> (TNotification notification) where TNotification : INotification;
6+
public delegate void NotificationSuccessDelegate<TNotification> (TNotification notification) where TNotification : INotification;
77
public delegate void NotificationFailureDelegate<TNotification> (TNotification notification, AggregateException exception) where TNotification : INotification;
88

9-
public interface IServiceConnection<TNotification> where TNotification : INotification
10-
{
11-
Task Send (TNotification notification);
12-
}
9+
public interface IServiceConnection<TNotification> where TNotification : INotification
10+
{
11+
Task Send (TNotification notification);
12+
}
1313
}
1414

PushSharp.Core/IServiceConnectionFactory.cs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@
33
namespace PushSharp.Core
44
{
55
public interface IServiceConnectionFactory<TNotification> where TNotification : INotification
6-
{
7-
IServiceConnection<TNotification> Create();
8-
}
6+
{
7+
IServiceConnection<TNotification> Create ();
8+
}
99
}
1010

0 commit comments

Comments
 (0)