using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Xamarin.PropertyEditing { public interface IObjectEventEditor { IReadOnlyCollection Events { get; } /// or is null. Task AttachHandlerAsync (IEventInfo ev, string handlerName); /// or is null. Task DetachHandlerAsync (IEventInfo ev, string handlerName); /// /// Gets the method names for the handlers attached to /// /// is null. Task> GetHandlersAsync (IEventInfo ev); } }