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