You've already forked linux-packaging-mono
acceptance-tests
data
debian
docs
external
Newtonsoft.Json
api-doc-tools
api-snapshot
aspnetwebstack
binary-reference-assemblies
bockbuild
boringssl
cecil
cecil-legacy
corefx
corert
helix-binaries
ikdasm
ikvm
illinker-test-assets
linker
llvm
nuget-buildtasks
nunit-lite
roslyn-binaries
rx
Ix
Rx
NET
Resources
Samples
Source
.nuget
Microsoft.Reactive.Testing
Playground
References
Rx_Xamarin
System.Reactive.Core
System.Reactive.Debugger
System.Reactive.Experimental
System.Reactive.Interfaces
Properties
Reactive
AssemblyFileVersionAttribute.cs
DateTimeOffset.cs
GlobalSuppressions.cs
IObservable.cs
IObserver.cs
NamespaceDocs.cs
System.Reactive.Interfaces.csproj
System.Reactive.Linq
System.Reactive.Observable.Aliases
System.Reactive.PlatformServices
System.Reactive.Providers
System.Reactive.Runtime.Remoting
System.Reactive.Windows.Forms
System.Reactive.Windows.Threading
System.Reactive.WindowsRuntime
Tests.System.Reactive
packages
.gitattributes
.gitignore
35MSSharedLib1024.snk
Build.bat
BuildAll.proj
BuildSetup.bat
Clean.bat
Common.targets
Import.targets
Local.testsettings
README.txt
Rx.ruleset
Rx.sln.REMOVED.git-id
Test.ruleset
TraceAndTestImpact.testsettings
license.txt
packages.config
Test
tools
component
xpkg
.gitignore
README-microsoft-original.md
README.md
Rakefile
mono.patch
replacer.sh
xunit-binaries
how-to-bump-roslyn-binaries.md
ikvm-native
libgc
llvm
m4
man
mcs
mk
mono
msvc
po
runtime
samples
scripts
support
tools
COPYING.LIB
LICENSE
Makefile.am
Makefile.in
NEWS
README.md
acinclude.m4
aclocal.m4
autogen.sh
code_of_conduct.md
compile
config.guess
config.h.in
config.rpath
config.sub
configure.REMOVED.git-id
configure.ac.REMOVED.git-id
depcomp
install-sh
ltmain.sh.REMOVED.git-id
missing
mkinstalldirs
mono-uninstalled.pc.in
test-driver
winconfig.h
35 lines
1.1 KiB
C#
35 lines
1.1 KiB
C#
![]() |
// Copyright (c) Microsoft Open Technologies, Inc. All rights reserved. See License.txt in the project root for license information.
|
|||
|
|
|||
|
#if NO_RXINTERFACES
|
|||
|
namespace System
|
|||
|
{
|
|||
|
/// <summary>
|
|||
|
/// Supports push-style iteration over an observable sequence.
|
|||
|
/// </summary>
|
|||
|
#if !NO_VARIANCE
|
|||
|
public interface IObserver<in T>
|
|||
|
#else
|
|||
|
public interface IObserver<T>
|
|||
|
#endif
|
|||
|
{
|
|||
|
/// <summary>
|
|||
|
/// Notifies the observer of a new element in the sequence.
|
|||
|
/// </summary>
|
|||
|
/// <param name="value">Next element in the sequence.</param>
|
|||
|
void OnNext(T value);
|
|||
|
|
|||
|
/// <summary>
|
|||
|
/// Notifies the observer that an exception has occurred.
|
|||
|
/// </summary>
|
|||
|
/// <param name="error">The error that has occurred.</param>
|
|||
|
void OnError(Exception error);
|
|||
|
|
|||
|
/// <summary>
|
|||
|
/// Notifies the observer of the end of the sequence.
|
|||
|
/// </summary>
|
|||
|
void OnCompleted();
|
|||
|
}
|
|||
|
}
|
|||
|
#elif !WINDOWSPHONE7 // TypeForwardedTo is not presen on windows phone 7 so we can't really target
|
|||
|
[assembly: System.Runtime.CompilerServices.TypeForwardedTo(typeof(System.IObserver<>))]
|
|||
|
#endif
|