Struct SchedulerMapping
Represents a value specifying the scheduler to be used when handling concurrency in a reactive operator.
public struct SchedulerMapping : IEquatable<SchedulerMapping>
- Implements
- Inherited Members
Constructors
SchedulerMapping(IScheduler)
Initializes a new instance of the SchedulerMapping class using the specified scheduler.
public SchedulerMapping(IScheduler scheduler)
Parameters
scheduler
ISchedulerThe scheduler assigned to the mapping.
Exceptions
- ArgumentNullException
scheduler
is null.
Properties
Instance
Gets or sets the scheduler object assigned to the mapping.
public readonly IScheduler Instance { get; }
Property Value
Methods
Equals(SchedulerMapping)
Returns a value indicating whether this object has the same scheduler instance as a specified SchedulerMapping value.
public bool Equals(SchedulerMapping other)
Parameters
other
SchedulerMappingThe SchedulerMapping value to compare to this object.
Returns
Equals(object)
Indicates whether this instance and a specified object are equal.
public override bool Equals(object obj)
Parameters
obj
objectThe object to compare with the current instance.
Returns
- bool
true if
obj
and this instance are the same type and represent the same value; otherwise, false.
GetHashCode()
Returns the hash code for this instance.
public override int GetHashCode()
Returns
- int
A 32-bit signed integer that is the hash code for this instance.