vendoring NetVips

This commit is contained in:
Renjaya Raga Zenta 2025-07-31 00:17:59 +07:00
parent 36a0f8d39c
commit 33e9d5f43a
41 changed files with 21749 additions and 0 deletions

32
vendor/NetVips/Connection.cs vendored Normal file
View file

@ -0,0 +1,32 @@
namespace NetVips;
/// <summary>
/// The abstract base Connection class.
/// </summary>
public abstract class Connection : VipsObject
{
/// <inheritdoc cref="GObject"/>
internal Connection(nint pointer) : base(pointer)
{
}
/// <summary>
/// Get the filename associated with a connection. Return <see langword="null"/> if there
/// is no associated file.
/// </summary>
/// <returns>The filename associated with this connection or <see langword="null"/>.</returns>
public string GetFileName()
{
return Internal.VipsConnection.FileName(this).ToUtf8String();
}
/// <summary>
/// Make a human-readable name for a connection suitable for error
/// messages.
/// </summary>
/// <returns>The human-readable name for this connection.</returns>
public string GetNick()
{
return Internal.VipsConnection.Nick(this).ToUtf8String();
}
}