Class DeviceOperationBase
An operation that runs on a device.
Inherited Members
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 SourceEquals(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 |
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
View SourceGetHashCode()
Serves as the default hash function.
Declaration
public override int GetHashCode()
Returns
Type | Description |
---|---|
int | A hash code for the current object. |