Table of Contents

Class StateProxy<StateType>

Namespace
HelixToolkit.SharpDX.Utilities
Assembly
HelixToolkit.SharpDX.dll
public abstract class StateProxy<StateType> : DisposeObject, IDisposable where StateType : ComObject

Type Parameters

StateType

The type of the tate type.

Inheritance
StateProxy<StateType>
Implements
Derived
Inherited Members

Constructors

StateProxy(StateType?)

public StateProxy(StateType? state)

Parameters

state StateType

Properties

State

Gets the state.

public StateType? State { get; }

Property Value

StateType

The state.

Methods

OnDispose(bool)

Disposes of object resources.

protected override void OnDispose(bool disposeManagedResources)

Parameters

disposeManagedResources bool

If true, managed resources should be disposed of in addition to unmanaged resources.

Operators

implicit operator StateType?(StateProxy<StateType>?)

Performs an implicit conversion

public static implicit operator StateType?(StateProxy<StateType>? proxy)

Parameters

proxy StateProxy<StateType>

The proxy.

Returns

StateType

The result of the conversion.