20240422
This commit is contained in:
commit
e0afef912e
1285 files changed
+83219
No files matched your search
@@ -0,0 +1,21 @@
|
||||
//-----------------------------------------------------------------------
|
||||
// <copyright file="IObserver.cs" company="Mapbox">
|
||||
// Copyright (c) 2016 Mapbox. All rights reserved.
|
||||
// </copyright>
|
||||
//-----------------------------------------------------------------------
|
||||
|
||||
namespace Mapbox.Utils
|
||||
{
|
||||
/// <summary>
|
||||
/// An observer interface, similar to .NET 4.0 own IObserver.
|
||||
/// </summary>
|
||||
/// <typeparam name="T">
|
||||
/// The data being observed.
|
||||
/// </typeparam>
|
||||
public interface IObserver<T>
|
||||
{
|
||||
/// <summary> The <see cref="T:Observable" /> has updated the data. </summary>
|
||||
/// <param name="next"> The data that has changed. </param>
|
||||
void OnNext(T next);
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user