mirror of
https://github.com/tym1116/BH3.git
synced 2025-12-18 17:34:45 +01:00
23 lines
382 B
C#
23 lines
382 B
C#
using System;
|
|
|
|
namespace UniRx.InternalUtil
|
|
{
|
|
public class DisposedObserver<T> : IObserver<T>
|
|
{
|
|
public void OnCompleted()
|
|
{
|
|
throw new ObjectDisposedException(string.Empty);
|
|
}
|
|
|
|
public void OnError(Exception error)
|
|
{
|
|
throw new ObjectDisposedException(string.Empty);
|
|
}
|
|
|
|
public void OnNext(T value)
|
|
{
|
|
throw new ObjectDisposedException(string.Empty);
|
|
}
|
|
}
|
|
}
|