Repository navigation
Parse Context Update #3548
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
Parse Context Update #3548
Changes from all commits
0bac934
474884a
52e882f
9eb0598
97e3834
ab00f52
6b60262
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 |
|---|---|---|
| @@ -0,0 +1,24 @@ | ||
| // Copyright (c) Microsoft Corporation. All rights reserved. | ||
| // Licensed under the MIT License. | ||
| using Newtonsoft.Json; | ||
| using System; | ||
| using System.Collections.Generic; | ||
| using System.Linq; | ||
| using System.Text; | ||
| using System.Threading.Tasks; | ||
|
|
||
| namespace AdaptiveCards | ||
| { | ||
| public abstract class AdaptiveTypedBaseElementConverter : JsonConverter | ||
|
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. Late but adding comments anyways; Good to have some class comments explainng why this wasnt needed for eg. Also do you need System.Threading.Tasks here? #Resolved
Member
Author
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. |
||
| { | ||
| protected ParseContext parseContext; | ||
| public ParseContext ParseContext | ||
|
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. Curious: Wouldnt automatic properties work here?Also why is the local member (parseContext) declared as protected? Additionally why is ParseContext - the property a public property vs protected? #Resolved
Member
Author
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. o.k. will change to automatic property. it was intended that inherited object would be able to freely access this property, but automatic property makes more sense. In reply to: 341280836 [](ancestors = 341280836) |
||
| { | ||
| get => parseContext; | ||
| set | ||
| { | ||
| parseContext = value; | ||
| } | ||
| } | ||
| } | ||
| } | ||
Uh oh!
There was an error while loading. Please reload this page.
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.
Nit: Should be able to clean up the using's here to remove ones not being used in the file #Resolved
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.
thanks
In reply to: 341278562 [](ancestors = 341278562)