Skip to content

More public XmlPath members #1013

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

Merged
merged 6 commits into from
Sep 6, 2021
Merged

Conversation

rmboggs
Copy link
Contributor

@rmboggs rmboggs commented Aug 31, 2021

This makes the constructors and a couple of static methods in the XmlPath class public.

@twsouthwick
Copy link
Member

Do we need both the constructor and the factory?

@twsouthwick
Copy link
Member

/azp run

@rmboggs
Copy link
Contributor Author

rmboggs commented Aug 31, 2021

Do we need both the constructor and the factory?

Honestly, I think the constructors would be sufficient. I only did that because @ThomasBarnekow suggested it. If you need me to revert the factory, let me know.

@twsouthwick
Copy link
Member

Let's just do the constructors

@rmboggs
Copy link
Contributor Author

rmboggs commented Aug 31, 2021

Let's just do the constructors

Fair enough, let me revert the non-constructor related changes

@rmboggs
Copy link
Contributor Author

rmboggs commented Aug 31, 2021

That should do it.

@twsouthwick
Copy link
Member

/azp run

@@ -21,9 +21,13 @@ namespace DocumentFormat.OpenXml
public class XmlPath
{
/// <summary>
/// Initializes a new instance of the XmlPath.
/// Initializes a new instance of the XmlPath from the specified
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

can you use <see href=""/> annotations for types here?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You want me to use <see href=""/> here or <see cref=""/>? If the former, what url should I be using for the classes?

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

haha yeah cref

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Cool, just making sure. I'll work on that.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should be updated as requested now.

@@ -54,7 +58,7 @@ internal XmlPath(OpenXmlElement element)
/// Initializes a new instance of the XmlPath from the specified OpenXmlPart.
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

same as above

@twsouthwick
Copy link
Member

/azp run

@rmboggs
Copy link
Contributor Author

rmboggs commented Sep 3, 2021

Hi,

Since this is approved, do you know when it can be merged into Main?

@twsouthwick twsouthwick merged commit e81d7a2 into dotnet:main Sep 6, 2021
@twsouthwick
Copy link
Member

Done

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants