Welcome to mirror list, hosted at ThFree Co, Russian Federation.

IIconProvider.cs « Xamarin.PropertyEditing - github.com/xamarin/Xamarin.PropertyEditing.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 6081cb04bd511bb4a45ba9d688167f8c2229f2d0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
using System.IO;
using System.Threading.Tasks;

namespace Xamarin.PropertyEditing
{
	public interface IIconProvider
	{
		/// <summary>
		/// Gets an icon for the given <paramref name="types"/>.
		/// </summary>
		/// <param name="types">The types to get an icon for.</param>
		/// <remarks>
		/// The types provided in <paramref name="type"/> may not be the same.
		/// If they aren't, you should return a generic icon (VS uses an XML Tag).
		/// </remarks>
		Task<Stream> GetTypeIconAsync (ITypeInfo[] types);
	}
}