You can not select more than 25 topics
			Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
		
		
		
		
		
			
		
			
				
					
					
						
							21 lines
						
					
					
						
							680 B
						
					
					
				
			
		
		
	
	
							21 lines
						
					
					
						
							680 B
						
					
					
				| //-----------------------------------------------------------------------
 | |
| // <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);
 | |
| 	}
 | |
| } |