public static Task AddItemsMovedAsync(this ITableContext tableContext, ItemsMovedEventHandler <ITableItem> handler) { return(tableContext.Dispatcher.InvokeAsync(() => tableContext.ItemsMoved += handler)); }
public static Task RemoveItemsMovedEventHandlerAsync(this ITypeContext typeContext, ItemsMovedEventHandler <ITypeItem> handler) { return(typeContext.Dispatcher.InvokeAsync(() => typeContext.ItemsMoved -= handler)); }
public static Task RemoveItemsMovedEventHandlerAsync(this IUserContext userContext, ItemsMovedEventHandler <IUserItem> handler) { return(userContext.Dispatcher.InvokeAsync(() => userContext.ItemsMoved -= handler)); }
public static Task AddTablesMovedAsync(this ITableCollection tableCollection, ItemsMovedEventHandler <ITable> handler) { return(tableCollection.Dispatcher.InvokeAsync(() => tableCollection.TablesMoved += handler)); }
public static Task RemoveTypesMovedAsync(this ITypeCollection typeCollection, ItemsMovedEventHandler <IType> handler) { return(typeCollection.Dispatcher.InvokeAsync(() => typeCollection.TypesMoved -= handler)); }
public static Task RemoveCategoriesMovedEventHandlerAsync(this IUserCategoryCollection userCategoryCollection, ItemsMovedEventHandler <IUserCategory> handler) { return(userCategoryCollection.Dispatcher.InvokeAsync(() => userCategoryCollection.CategoriesMoved -= handler)); }
public static Task AddUsersMovedEventHandlerAsync(this IUserCollection userCollection, ItemsMovedEventHandler <IUser> handler) { return(userCollection.Dispatcher.InvokeAsync(() => userCollection.UsersMoved += handler)); }