Class SimpleIOStream
- Namespace
- Gio
- Assembly
- Gio-2.0.dll
public class SimpleIOStream : IOStream, IDisposable, NativeObject, GTypeProvider, InstanceFactory
- Inheritance
-
SimpleIOStream
- Implements
- Inherited Members
Constructors
SimpleIOStream(params ConstructArgument[])
[Obsolete("Regular C# constructors on native classes will be removed in a future version. Please see the linked documentation for more details. It contains scenarios and possible solutions to prepare for the upcoming changes.", DiagnosticId = "GirCore1007", UrlFormat = "https://gircore.github.io/docs/integration/diagnostic/1007.html")]
public SimpleIOStream(params ConstructArgument[] constructArguments)
Parameters
constructArgumentsConstructArgument[]
SimpleIOStream(CreationData)
[Obsolete("This constructor is a workaround to keep legacy APIs alive. Do not use it.")]
protected SimpleIOStream(CreationData data)
Parameters
dataCreationData
SimpleIOStream(SimpleIOStreamHandle)
protected SimpleIOStream(SimpleIOStreamHandle handle)
Parameters
handleSimpleIOStreamHandle
Fields
InputStreamPropertyDefinition
public static readonly Property<InputStream?, SimpleIOStream> InputStreamPropertyDefinition
Field Value
OutputStreamPropertyDefinition
public static readonly Property<OutputStream?, SimpleIOStream> OutputStreamPropertyDefinition
Field Value
Properties
InputStream
public InputStream? InputStream { get; }
Property Value
OutputStream
public OutputStream? OutputStream { get; }
Property Value
Methods
GetGType()
public static Type GetGType()
Returns
New(InputStream, OutputStream)
[Version("2.44")]
public static SimpleIOStream New(InputStream inputStream, OutputStream outputStream)
Parameters
inputStreamInputStreamoutputStreamOutputStream
Returns
NewFromPointer(nint, bool)
Creates a new managed SimpleIOStream instance for a given pointer.
public static SimpleIOStream NewFromPointer(nint ptr, bool ownsHandle)
Parameters
Returns
NewWithProperties(ConstructArgument[])
Creates a new SimpleIOStream and sets the properties specified by the construct arguments.
public static SimpleIOStream NewWithProperties(ConstructArgument[] constructArguments)
Parameters
constructArgumentsConstructArgument[]The properties to set.