-
Notifications
You must be signed in to change notification settings - Fork 151
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fixed various typos in comments and field names. Fixed Exception for passing comment correctly #286
Changes from 1 commit
bf5170a
640d2c1
8723f34
695848d
dedb094
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -159,19 +159,19 @@ public void AssignData(byte[] data) | |
this.data = data; | ||
} | ||
|
||
/// <summary> | ||
/// Gets the <see cref="ISubscription"/> which received the message. | ||
/// </summary> | ||
[ObsoleteAttribute("This property will soon be deprecated. Use ArrivalSubscription instead.")] | ||
public ISubscription ArrivalSubcription | ||
{ | ||
get { return sub; } | ||
} | ||
|
||
/// <summary> | ||
/// Gets the <see cref="ISubscription"/> which received the message. | ||
/// </summary> | ||
public ISubscription ArrivalSubscription | ||
/// <summary> | ||
/// Gets the <see cref="ISubscription"/> which received the message. | ||
/// </summary> | ||
[ObsoleteAttribute("This property will soon be deprecated. Use ArrivalSubscription instead.")] | ||
public ISubscription ArrivalSubcription | ||
{ | ||
get { return sub; } | ||
} | ||
|
||
/// <summary> | ||
/// Gets the <see cref="ISubscription"/> which received the message. | ||
/// </summary> | ||
public ISubscription ArrivalSubscription | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. This is a breaking change to the API (but a very reasonable one). Perhaps we should consider the original misnamed property forwarding to the new property, with the original property marked as Obsolete? There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Yes, I agree. Wow, am I embarrassed at that one. Yep, we should keep both, and mark There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. @CycoPH, would you mind adding a new property (correcting my spelling), adding an obsolete attribute, e.g.
...and have the old property call the new one? There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Sure did the change a resubmitted |
||
{ | ||
get { return sub; } | ||
} | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Should be able to make this a one liner: