가상 시간 스케줄러의 기본 클래스를 나타냅니다.
상속 계층 구조
System.Object
System.Reactive.Concurrency.VirtualTimeSchedulerBase<TAbsolute, TRelative>
System.Reactive.Concurrency.HistoricalSchedulerBase
System.Reactive.Concurrency.VirtualTimeScheduler<TAbsolute, TRelative>
네임스페이스:System.Reactive.Concurrency
어셈블리: System.Reactive(System.Reactive.dll)
Syntax
'Declaration
Public MustInherit Class VirtualTimeSchedulerBase(Of TAbsolute, TRelative) _
Implements IScheduler
'Usage
Dim instance As VirtualTimeSchedulerBase(Of TAbsolute, TRelative)
public abstract class VirtualTimeSchedulerBase<TAbsolute, TRelative> : IScheduler
generic<typename TAbsolute, typename TRelative>
public ref class VirtualTimeSchedulerBase abstract : IScheduler
[<AbstractClassAttribute>]
type VirtualTimeSchedulerBase<'TAbsolute, 'TRelative> =
class
interface IScheduler
end
JScript does not support generic types and methods.
형식 매개 변수
- TAbsolute
절대 시간 인수 형식입니다.
- TRelative
상대 시간 인수 형식입니다.
VirtualTimeSchedulerBase<TAbsolute, TRelative> 형식은 다음 멤버를 노출합니다.
생성자
| 속성 | Description | |
|---|---|---|
|
VirtualTimeSchedulerBase<TAbsolute, TRelative>() | 초기 클록 값에 대한 기본값 TAbsolute를 사용하여 새 가상 시간 스케줄러를 만듭니다. |
|
VirtualTimeSchedulerBase<TAbsolute, TRelative>(TAbsolute, IComparer<TAbsolute>) | 새 가상 시간 스케줄러를 만듭니다. |
상위
속성
| 속성 | Description | |
|---|---|---|
|
시계 | 스케줄러의 절대 시간 클록 값을 가져옵니다. |
|
비교자 | 절대 시간 값을 비교하는 데 사용되는 비교자를 가져옵니다. |
|
IsEnabled | 스케줄러가 작업을 실행할 수 있는지 여부를 가져옵니다. |
|
Now | 스케줄러의 현재 시간 개념을 가져옵니다. |
상위
메서드
| 속성 | Description | |
|---|---|---|
|
추가 | 절대 시간 값에 상대 시간을 추가합니다. |
|
AdvanceBy | 스케줄러의 시계를 지정된 상대 시간으로 이동하여 해당 시간 범위로 예약된 모든 작업을 실행합니다. |
|
AdvanceTo | 스케줄러의 시계를 지정된 시간으로 이동하여 해당 시점까지 모든 작업을 실행합니다. |
|
같음 | ( 개체에서 상속됩니다.) |
|
Finalize | ( 개체에서 상속됩니다.) |
|
GetHashCode | ( 개체에서 상속됩니다.) |
|
GetNext | 실행할 다음 예약된 항목을 가져옵니다. |
|
GetType | ( 개체에서 상속됩니다.) |
|
MemberwiseClone | ( 개체에서 상속됩니다.) |
|
Schedule<TState>(TState, Func<IScheduler, TState, IDisposable>) | 실행할 작업을 예약합니다. |
|
Schedule<TState>(TState, DateTimeOffset, Func<IScheduler, TState, IDisposable>) | dueTime에 실행되도록 작업을 예약합니다. |
|
Schedule<TState>(TState, TimeSpan, Func<IScheduler, TState, IDisposable>) | dueTime 이후에 실행되도록 작업을 예약합니다. |
|
ScheduleAbsolute<TState> | dueTime에 실행되도록 작업을 예약합니다. |
|
ScheduleRelative<TState> | dueTime에 실행되도록 작업을 예약합니다. |
|
시작 | 가상 시간 스케줄러를 시작합니다. |
|
중지 | 가상 시간 스케줄러를 중지합니다. |
|
ToDateTimeOffset | 절대 시간 값을 DateTimeOffset 값으로 변환합니다. |
|
ToRelative | TimeSpan 값을 상대 시간 값으로 변환합니다. |
|
ToString | 개체 에서 상속됩니다. |
상위
확장 메서드
| 속성 | Description | |
|---|---|---|
|
Schedule(Action) | 오버로드됨. 실행할 작업을 예약합니다. ( Scheduler에 의해 정의됨) |
|
Schedule(Action<Action>) | 오버로드됨. 재귀적으로 실행되도록 작업을 예약합니다. ( Scheduler에 의해 정의됨) |
|
Schedule(TimeSpan, Action) | 오버로드됨. dueTime 이후에 실행되도록 작업을 예약합니다. ( Scheduler에 의해 정의됨) |
|
Schedule(DateTimeOffset, Action) | 오버로드됨. dueTime에 실행할 작업을 예약합니다. ( Scheduler에 의해 정의됨) |
|
Schedule(TimeSpan, Action Action<<TimeSpan>>) | 오버로드됨. 각 dueTime 이후에 재귀적으로 실행되도록 작업을 예약합니다. ( Scheduler에 의해 정의됨) |
|
Schedule(DateTimeOffset, Action Action<<DateTimeOffset>>) | 오버로드됨. dueTime 이후에 실행되도록 작업을 예약합니다. ( Scheduler에 의해 정의됨) |
|
Schedule<TState>(TState, Action<TState, Action<TState>>) | 오버로드됨. 재귀적으로 실행되도록 작업을 예약합니다. ( Scheduler에 의해 정의됨) |
|
Schedule<TState(TState>, TimeSpan, Action<TState, Action<TState, TimeSpan>>) | 오버로드됨. 각 dueTime 이후에 재귀적으로 실행되도록 작업을 예약합니다. ( Scheduler에 의해 정의됨) |
|
Schedule<TState(TState>, DateTimeOffset, Action<TState, Action<TState, DateTimeOffset>>) | 오버로드됨. 각 dueTime에서 재귀적으로 실행되도록 작업을 예약합니다. ( Scheduler에 의해 정의됨) |
상위
스레드 보안
이 형식의 모든 public static(Visual Basic의 경우 Shared) 멤버는 스레드로부터 안전합니다. 인스턴스 구성원은 스레드로부터의 안전성이 보장되지 않습니다.