Class Context
- Namespace
- Gst
- Assembly
- Gst-1.0.dll
public sealed class Context : BoxedRecord, GTypeProvider, InstanceFactory, IEquatable<Context>, IDisposable
- Inheritance
-
Context
- Implements
- Inherited Members
Constructors
Context(ContextOwnedHandle)
public Context(ContextOwnedHandle handle)
Parameters
handle
ContextOwnedHandle
Properties
Handle
public ContextOwnedHandle Handle { get; }
Property Value
Methods
Dispose()
Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
public void Dispose()
Equals(Context?)
Indicates whether the current object is equal to another object of the same type.
public bool Equals(Context? other)
Parameters
other
ContextAn object to compare with this object.
Returns
Equals(object?)
Determines whether the specified object is equal to the current object.
public override bool Equals(object? obj)
Parameters
obj
objectThe object to compare with the current object.
Returns
GetContextType()
[Version("1.2")]
public string GetContextType()
Returns
GetGType()
public static Type GetGType()
Returns
GetHashCode()
Serves as the default hash function.
public override int GetHashCode()
Returns
- int
A hash code for the current object.
GetStructure()
[Version("1.2")]
public Structure GetStructure()
Returns
HasContextType(string)
[Version("1.2")]
public bool HasContextType(string contextType)
Parameters
contextType
string
Returns
IsPersistent()
[Version("1.2")]
public bool IsPersistent()
Returns
New(string, bool)
[Version("1.2")]
public static Context New(string contextType, bool persistent)
Parameters
Returns
WritableStructure()
[Version("1.2")]
public Structure WritableStructure()