Show / Hide Table of Contents

Class DeviceOperationBase

An operation that runs on a device.

Inheritance
object
CancellableOperationBase<IDevice>
DeviceOperationBase
DeviceOperation
LaunchGame
Implements
IDeviceOperation
ICancellableOperation<IDevice>
IOperation<IDevice>
ICancellableOperation
IOperation
IEquatable<IDeviceOperation>
Inherited Members
CancellableOperationBase<IDevice>.ExecutionStateChanged
CancellableOperationBase<IDevice>.IsRunning
CancellableOperationBase<IDevice>.Timeout
CancellableOperationBase<IDevice>.GetAwaiter(IDevice, CancellationToken)
CancellableOperationBase<IDevice>.Run(IDevice)
CancellableOperationBase<IDevice>.Run(IDevice, CancellationToken)
CancellableOperationBase<IDevice>.IsRunningOn(IDevice)
CancellableOperationBase<IDevice>.Cancel(IDevice)
CancellableOperationBase<IDevice>.Cancel(IDevice, bool)
CancellableOperationBase<IDevice>.TryCreateCancellationToken(IDevice, out CancellationToken)
CancellableOperationBase<IDevice>.ExecuteOn(IDevice, CancellationToken)
object.Equals(object, object)
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: Microsoft.XboxStudios.BotBrain.Devices
Assembly: BotBrain.Devices.dll
Syntax
public abstract class DeviceOperationBase : CancellableOperationBase<IDevice>, IDeviceOperation, ICancellableOperation<IDevice>, IOperation<IDevice>, ICancellableOperation, IOperation, IEquatable<IDeviceOperation?>

Methods

View Source

Equals(IDeviceOperation?)

Indicates whether the current object is equal to another object of the same type.

Declaration
public virtual bool Equals(IDeviceOperation? other)
Parameters
Type Name Description
IDeviceOperation other

An object to compare with this object.

Returns
Type Description
bool

true if the current object is equal to the other parameter; otherwise, false.

View Source

Equals(object?)

Determines whether the specified object is equal to the current object.

Declaration
public override bool Equals(object? obj)
Parameters
Type Name Description
object obj

The object to compare with the current object.

Returns
Type Description
bool

true if the specified object is equal to the current object; otherwise, false.

Overrides
object.Equals(object)
View Source

GetHashCode()

Serves as the default hash function.

Declaration
public override int GetHashCode()
Returns
Type Description
int

A hash code for the current object.

Overrides
object.GetHashCode()

Implements

IDeviceOperation
ICancellableOperation<T>
IOperation<T>
ICancellableOperation
IOperation
IEquatable<T>
  • View Source
In this article
Back to top Generated by DocFX