public static Task RemoveItemsRenamedEventHandlerAsync(this ITypeContext typeContext, ItemsRenamedEventHandler <ITypeItem> handler) { return(typeContext.Dispatcher.InvokeAsync(() => typeContext.ItemsRenamed -= handler)); }
public static Task AddItemsRenamedAsync(this ITableContext tableContext, ItemsRenamedEventHandler <ITableItem> handler) { return(tableContext.Dispatcher.InvokeAsync(() => tableContext.ItemsRenamed += handler)); }
public static Task RemoveItemsRenamedEventHandlerAsync(this IUserContext userContext, ItemsRenamedEventHandler <IUserItem> handler) { return(userContext.Dispatcher.InvokeAsync(() => userContext.ItemsRenamed -= handler)); }
public static Task AddTablesRenamedAsync(this ITableCollection tableCollection, ItemsRenamedEventHandler <ITable> handler) { return(tableCollection.Dispatcher.InvokeAsync(() => tableCollection.TablesRenamed += handler)); }
public static Task RemoveTypesRenamedAsync(this ITypeCollection typeCollection, ItemsRenamedEventHandler <IType> handler) { return(typeCollection.Dispatcher.InvokeAsync(() => typeCollection.TypesRenamed -= handler)); }
public static Task RemoveCategoriesRenamedEventHandlerAsync(this IUserCategoryCollection userCategoryCollection, ItemsRenamedEventHandler <IUserCategory> handler) { return(userCategoryCollection.Dispatcher.InvokeAsync(() => userCategoryCollection.CategoriesRenamed -= handler)); }