-
Notifications
You must be signed in to change notification settings - Fork 142
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
base: main
Are you sure you want to change the base?
Improve C# documentation #1154
Conversation
@@ -18,7 +21,7 @@ private Images(IntPtr imagesHandle) | |||
|
|||
internal IntPtr Handle { get { return _imagesHandle; } } | |||
|
|||
public static Images Load(string[] imagePaths) |
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.
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 { |
/// <summary> | ||
/// Wraps some utility functions that are available globally | ||
/// <summary> | ||
internal class Utils |
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.
In Java there's a GenAI
class that handles the global configurations:
final class GenAI { |
Should we do the same in C#?
Added missing C# documentation according to the Javadoc (#1136).
Internal work item: https://task.ms/aii/53908