Skip to content
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

Improve C# documentation #1154

Merged
merged 4 commits into from
Jan 24, 2025
Merged

Improve C# documentation #1154

merged 4 commits into from
Jan 24, 2025

Conversation

skyline75489
Copy link
Contributor

Added missing C# documentation according to the Javadoc (#1136).

Internal work item: https://task.ms/aii/53908

@@ -18,7 +21,7 @@ private Images(IntPtr imagesHandle)

internal IntPtr Handle { get { return _imagesHandle; } }

public static Images Load(string[] imagePaths)
Copy link
Contributor Author

Choose a reason for hiding this comment

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

This is bothering me. Why do we use a static method Images.Load() instead of new Images(string[] imagePaths) just like in java:

public Images(String imagePath) throws GenAIException {

Copy link
Contributor

Choose a reason for hiding this comment

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

@baijumeswani can you take a look at this question please

Copy link
Contributor

Choose a reason for hiding this comment

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

Created an internal workitem to address this

@skyline75489 skyline75489 added the documentation and samples Improvements or additions to documentation label Jan 16, 2025
@natke natke requested a review from baijumeswani January 24, 2025 18:27
@natke natke marked this pull request as ready for review January 24, 2025 18:27
@natke natke self-requested a review January 24, 2025 19:05
@natke natke merged commit 59e352c into main Jan 24, 2025
14 checks passed
@natke natke deleted the jialli/csharp-doc branch January 24, 2025 19:06
baijumeswani added a commit that referenced this pull request Feb 20, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation and samples Improvements or additions to documentation
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants