当前位置: 首页>>代码示例>>C#>>正文


C# Zetbox.API.Async.ZbTask.OnResult方法代码示例

本文整理汇总了C#中Zetbox.API.Async.ZbTask.OnResult方法的典型用法代码示例。如果您正苦于以下问题:C# Zetbox.API.Async.ZbTask.OnResult方法的具体用法?C# Zetbox.API.Async.ZbTask.OnResult怎么用?C# Zetbox.API.Async.ZbTask.OnResult使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在Zetbox.API.Async.ZbTask的用法示例。


在下文中一共展示了Zetbox.API.Async.ZbTask.OnResult方法的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的C#代码示例。

示例1: TriggerFetchBSideAsync

 public Zetbox.API.Async.ZbTask TriggerFetchBSideAsync()
 {
     if (_triggerFetchBSideTask != null) return _triggerFetchBSideTask;
     _triggerFetchBSideTask = Context.FetchRelationAsync<Zetbox.App.Test.ASide_connectsTo_BSide_RelationEntryMemoryImpl>(new Guid("3555da6e-0e9b-4f7c-903e-a51f3cce7cd9"), RelationEndRole.A, this);
     _triggerFetchBSideTask.OnResult(r =>
     {
         _BSide
             = new ObservableBSideCollectionWrapper<Zetbox.App.Test.N_to_M_relations_A, Zetbox.App.Test.N_to_M_relations_B, Zetbox.App.Test.ASide_connectsTo_BSide_RelationEntryMemoryImpl, ICollection<Zetbox.App.Test.ASide_connectsTo_BSide_RelationEntryMemoryImpl>>(
                 this,
                 new RelationshipFilterASideCollection<Zetbox.App.Test.ASide_connectsTo_BSide_RelationEntryMemoryImpl>(this.Context, this));
                 // _BSide.CollectionChanged is managed by OnBSideCollectionChanged() and called from the RelationEntry
     });
     return _triggerFetchBSideTask;
 }
开发者ID:daszat,项目名称:zetbox,代码行数:14,代码来源:N_to_M_relations_A.Memory.Designer.cs

示例2: TriggerFetchRelationsAsync

 public Zetbox.API.Async.ZbTask TriggerFetchRelationsAsync()
 {
     if (_triggerFetchRelationsTask != null) return _triggerFetchRelationsTask;
     _triggerFetchRelationsTask = Context.FetchRelationAsync<Zetbox.App.Base.RoleMembership_resolves_Relations_RelationEntryMemoryImpl>(new Guid("f74d425f-e733-4cba-baca-f4a05fbc0a80"), RelationEndRole.A, this);
     _triggerFetchRelationsTask.OnResult(r =>
     {
         _Relations
             = new ObservableBSideListWrapper<Zetbox.App.Base.RoleMembership, Zetbox.App.Base.Relation, Zetbox.App.Base.RoleMembership_resolves_Relations_RelationEntryMemoryImpl, ICollection<Zetbox.App.Base.RoleMembership_resolves_Relations_RelationEntryMemoryImpl>>(
                 this,
                 new RelationshipFilterASideCollection<Zetbox.App.Base.RoleMembership_resolves_Relations_RelationEntryMemoryImpl>(this.Context, this));
                 // _Relations.CollectionChanged is managed by OnRelationsCollectionChanged() and called from the RelationEntry
     });
     return _triggerFetchRelationsTask;
 }
开发者ID:daszat,项目名称:zetbox,代码行数:14,代码来源:RoleMembership.Memory.Designer.cs

示例3: TriggerFetchMemberAsync

 public Zetbox.API.Async.ZbTask TriggerFetchMemberAsync()
 {
     if (_triggerFetchMemberTask != null) return _triggerFetchMemberTask;
     _triggerFetchMemberTask = Context.FetchRelationAsync<Zetbox.App.Base.Identities_memberOf_Groups_RelationEntryMemoryImpl>(new Guid("3efb7ae8-ba6b-40e3-9482-b45d1c101743"), RelationEndRole.B, this);
     _triggerFetchMemberTask.OnResult(r =>
     {
         _Member
             = new ObservableASideCollectionWrapper<Zetbox.App.Base.Identity, Zetbox.App.Base.Group, Zetbox.App.Base.Identities_memberOf_Groups_RelationEntryMemoryImpl, ICollection<Zetbox.App.Base.Identities_memberOf_Groups_RelationEntryMemoryImpl>>(
                 this,
                 new RelationshipFilterBSideCollection<Zetbox.App.Base.Identities_memberOf_Groups_RelationEntryMemoryImpl>(this.Context, this));
                 // _Member.CollectionChanged is managed by OnMemberCollectionChanged() and called from the RelationEntry
     });
     return _triggerFetchMemberTask;
 }
开发者ID:daszat,项目名称:zetbox,代码行数:14,代码来源:Group.Memory.Designer.cs

示例4: TriggerFetchTestCustomObjects_ManyList_NavAsync

 public Zetbox.API.Async.ZbTask TriggerFetchTestCustomObjects_ManyList_NavAsync()
 {
     if (_triggerFetchTestCustomObjects_ManyList_NavTask != null) return _triggerFetchTestCustomObjects_ManyList_NavTask;
     _triggerFetchTestCustomObjects_ManyList_NavTask = Context.FetchRelationAsync<Zetbox.App.Test.MB_Many_Role_has_TCO_ManyList_Role_RelationEntryMemoryImpl>(new Guid("d1e0da3e-ce64-4587-b62d-70c0f4371d97"), RelationEndRole.A, this);
     _triggerFetchTestCustomObjects_ManyList_NavTask.OnResult(r =>
     {
         _TestCustomObjects_ManyList_Nav
             = new ObservableBSideCollectionWrapper<Zetbox.App.Test.Muhblah, Zetbox.App.Test.TestCustomObject, Zetbox.App.Test.MB_Many_Role_has_TCO_ManyList_Role_RelationEntryMemoryImpl, ICollection<Zetbox.App.Test.MB_Many_Role_has_TCO_ManyList_Role_RelationEntryMemoryImpl>>(
                 this,
                 new RelationshipFilterASideCollection<Zetbox.App.Test.MB_Many_Role_has_TCO_ManyList_Role_RelationEntryMemoryImpl>(this.Context, this));
                 // _TestCustomObjects_ManyList_Nav.CollectionChanged is managed by OnTestCustomObjects_ManyList_NavCollectionChanged() and called from the RelationEntry
     });
     return _triggerFetchTestCustomObjects_ManyList_NavTask;
 }
开发者ID:daszat,项目名称:zetbox,代码行数:14,代码来源:Muhblah.Memory.Designer.cs

示例5: TriggerFetchRevisionsAsync

 public Zetbox.API.Async.ZbTask TriggerFetchRevisionsAsync()
 {
     if (_triggerFetchRevisionsTask != null) return _triggerFetchRevisionsTask;
     _triggerFetchRevisionsTask = Context.FetchRelationAsync<at.dasz.DocumentManagement.Document_has_Revisions_RelationEntryMemoryImpl>(new Guid("69d27812-e981-443b-a94b-dfe1a95f3aad"), RelationEndRole.A, this);
     _triggerFetchRevisionsTask.OnResult(r =>
     {
         _Revisions
             = new ObservableBSideListWrapper<at.dasz.DocumentManagement.File, Zetbox.App.Base.Blob, at.dasz.DocumentManagement.Document_has_Revisions_RelationEntryMemoryImpl, ICollection<at.dasz.DocumentManagement.Document_has_Revisions_RelationEntryMemoryImpl>>(
                 this,
                 new RelationshipFilterASideCollection<at.dasz.DocumentManagement.Document_has_Revisions_RelationEntryMemoryImpl>(this.Context, this));
                 // _Revisions.CollectionChanged is managed by OnRevisionsCollectionChanged() and called from the RelationEntry
     });
     return _triggerFetchRevisionsTask;
 }
开发者ID:daszat,项目名称:zetbox,代码行数:14,代码来源:File.Memory.Designer.cs

示例6: TriggerFetchShowByPropertiesAsync

 public Zetbox.API.Async.ZbTask TriggerFetchShowByPropertiesAsync()
 {
     if (_triggerFetchShowByPropertiesTask != null) return _triggerFetchShowByPropertiesTask;
     _triggerFetchShowByPropertiesTask = Context.FetchRelationAsync<Zetbox.App.GUI.ObjRefProp_shows_Methods_RelationEntryMemoryImpl>(new Guid("02b3e9d5-fc2e-4ffe-8867-0977b88437cc"), RelationEndRole.B, this);
     _triggerFetchShowByPropertiesTask.OnResult(r =>
     {
         _ShowByProperties
             = new ObservableASideCollectionWrapper<Zetbox.App.Base.ObjectReferenceProperty, Zetbox.App.Base.Method, Zetbox.App.GUI.ObjRefProp_shows_Methods_RelationEntryMemoryImpl, ICollection<Zetbox.App.GUI.ObjRefProp_shows_Methods_RelationEntryMemoryImpl>>(
                 this,
                 new RelationshipFilterBSideCollection<Zetbox.App.GUI.ObjRefProp_shows_Methods_RelationEntryMemoryImpl>(this.Context, this));
                 // _ShowByProperties.CollectionChanged is managed by OnShowByPropertiesCollectionChanged() and called from the RelationEntry
     });
     return _triggerFetchShowByPropertiesTask;
 }
开发者ID:daszat,项目名称:zetbox,代码行数:14,代码来源:Method.Memory.Designer.cs

示例7: TriggerFetchReadersAsync

 public Zetbox.API.Async.ZbTask TriggerFetchReadersAsync()
 {
     if (_triggerFetchReadersTask != null) return _triggerFetchReadersTask;
     _triggerFetchReadersTask = Context.FetchRelationAsync<Zetbox.App.Calendar.Calendar_shared_r_Readers_RelationEntryMemoryImpl>(new Guid("385c829b-02d6-48d0-8184-b3b5df6c25be"), RelationEndRole.A, this);
     _triggerFetchReadersTask.OnResult(r =>
     {
         _Readers
             = new ObservableBSideCollectionWrapper<Zetbox.App.Calendar.CalendarBook, Zetbox.App.Base.Identity, Zetbox.App.Calendar.Calendar_shared_r_Readers_RelationEntryMemoryImpl, ICollection<Zetbox.App.Calendar.Calendar_shared_r_Readers_RelationEntryMemoryImpl>>(
                 this,
                 new RelationshipFilterASideCollection<Zetbox.App.Calendar.Calendar_shared_r_Readers_RelationEntryMemoryImpl>(this.Context, this));
                 // _Readers.CollectionChanged is managed by OnReadersCollectionChanged() and called from the RelationEntry
     });
     return _triggerFetchReadersTask;
 }
开发者ID:daszat,项目名称:zetbox,代码行数:14,代码来源:CalendarBook.Memory.Designer.cs

示例8: TriggerFetchWritersAsync

 public Zetbox.API.Async.ZbTask TriggerFetchWritersAsync()
 {
     if (_triggerFetchWritersTask != null) return _triggerFetchWritersTask;
     _triggerFetchWritersTask = Context.FetchRelationAsync<Zetbox.App.Calendar.Calendar_shared_w_Writers_RelationEntryMemoryImpl>(new Guid("af8843f9-0085-47ec-bcb6-f0f8a22a2c03"), RelationEndRole.A, this);
     _triggerFetchWritersTask.OnResult(r =>
     {
         _Writers
             = new ObservableBSideCollectionWrapper<Zetbox.App.Calendar.CalendarBook, Zetbox.App.Base.Identity, Zetbox.App.Calendar.Calendar_shared_w_Writers_RelationEntryMemoryImpl, ICollection<Zetbox.App.Calendar.Calendar_shared_w_Writers_RelationEntryMemoryImpl>>(
                 this,
                 new RelationshipFilterASideCollection<Zetbox.App.Calendar.Calendar_shared_w_Writers_RelationEntryMemoryImpl>(this.Context, this));
                 // _Writers.CollectionChanged is managed by OnWritersCollectionChanged() and called from the RelationEntry
     });
     return _triggerFetchWritersTask;
 }
开发者ID:daszat,项目名称:zetbox,代码行数:14,代码来源:CalendarBook.Memory.Designer.cs

示例9: TriggerFetchGroupReadersAsync

 public Zetbox.API.Async.ZbTask TriggerFetchGroupReadersAsync()
 {
     if (_triggerFetchGroupReadersTask != null) return _triggerFetchGroupReadersTask;
     _triggerFetchGroupReadersTask = Context.FetchRelationAsync<Zetbox.App.Calendar.Calendar_shared_r_GroupReaders_RelationEntryMemoryImpl>(new Guid("775789a3-032e-478e-a01e-ec9f51580c5d"), RelationEndRole.A, this);
     _triggerFetchGroupReadersTask.OnResult(r =>
     {
         _GroupReaders
             = new ObservableBSideCollectionWrapper<Zetbox.App.Calendar.CalendarBook, Zetbox.App.Base.Group, Zetbox.App.Calendar.Calendar_shared_r_GroupReaders_RelationEntryMemoryImpl, ICollection<Zetbox.App.Calendar.Calendar_shared_r_GroupReaders_RelationEntryMemoryImpl>>(
                 this,
                 new RelationshipFilterASideCollection<Zetbox.App.Calendar.Calendar_shared_r_GroupReaders_RelationEntryMemoryImpl>(this.Context, this));
                 // _GroupReaders.CollectionChanged is managed by OnGroupReadersCollectionChanged() and called from the RelationEntry
     });
     return _triggerFetchGroupReadersTask;
 }
开发者ID:daszat,项目名称:zetbox,代码行数:14,代码来源:CalendarBook.Memory.Designer.cs

示例10: TriggerFetchGroupWritersAsync

 public Zetbox.API.Async.ZbTask TriggerFetchGroupWritersAsync()
 {
     if (_triggerFetchGroupWritersTask != null) return _triggerFetchGroupWritersTask;
     _triggerFetchGroupWritersTask = Context.FetchRelationAsync<Zetbox.App.Calendar.Calendar_shared_w_GroupWriters_RelationEntryMemoryImpl>(new Guid("93f20ca2-6935-41bc-8f80-7a441b3cf69d"), RelationEndRole.A, this);
     _triggerFetchGroupWritersTask.OnResult(r =>
     {
         _GroupWriters
             = new ObservableBSideCollectionWrapper<Zetbox.App.Calendar.CalendarBook, Zetbox.App.Base.Group, Zetbox.App.Calendar.Calendar_shared_w_GroupWriters_RelationEntryMemoryImpl, ICollection<Zetbox.App.Calendar.Calendar_shared_w_GroupWriters_RelationEntryMemoryImpl>>(
                 this,
                 new RelationshipFilterASideCollection<Zetbox.App.Calendar.Calendar_shared_w_GroupWriters_RelationEntryMemoryImpl>(this.Context, this));
                 // _GroupWriters.CollectionChanged is managed by OnGroupWritersCollectionChanged() and called from the RelationEntry
     });
     return _triggerFetchGroupWritersTask;
 }
开发者ID:daszat,项目名称:zetbox,代码行数:14,代码来源:CalendarBook.Memory.Designer.cs

示例11: TriggerFetchProjekteAsync

 public Zetbox.API.Async.ZbTask TriggerFetchProjekteAsync()
 {
     if (_triggerFetchProjekteTask != null) return _triggerFetchProjekteTask;
     _triggerFetchProjekteTask = Context.FetchRelationAsync<Zetbox.App.Projekte.Projekte_haben_Mitarbeiter_RelationEntryMemoryImpl>(new Guid("c7b3cf10-cdc8-454c-826c-04a0f7e5ef3e"), RelationEndRole.B, this);
     _triggerFetchProjekteTask.OnResult(r =>
     {
         _Projekte
             = new ObservableASideListWrapper<Zetbox.App.Projekte.Projekt, Zetbox.App.Projekte.Mitarbeiter, Zetbox.App.Projekte.Projekte_haben_Mitarbeiter_RelationEntryMemoryImpl, ICollection<Zetbox.App.Projekte.Projekte_haben_Mitarbeiter_RelationEntryMemoryImpl>>(
                 this,
                 new RelationshipFilterBSideCollection<Zetbox.App.Projekte.Projekte_haben_Mitarbeiter_RelationEntryMemoryImpl>(this.Context, this));
                 // _Projekte.CollectionChanged is managed by OnProjekteCollectionChanged() and called from the RelationEntry
     });
     return _triggerFetchProjekteTask;
 }
开发者ID:daszat,项目名称:zetbox,代码行数:14,代码来源:Mitarbeiter.Memory.Designer.cs

示例12: TriggerFetchStudentAsync

 public Zetbox.API.Async.ZbTask TriggerFetchStudentAsync()
 {
     if (_triggerFetchStudentTask != null) return _triggerFetchStudentTask;
     _triggerFetchStudentTask = Context.FetchRelationAsync<Zetbox.App.Test.Student_füllt_aus_Testbogen_RelationEntryMemoryImpl>(new Guid("6819ca86-571c-4d59-bc30-cc1fb0decc9e"), RelationEndRole.B, this);
     _triggerFetchStudentTask.OnResult(r =>
     {
         _Student
             = new ObservableASideCollectionWrapper<Zetbox.App.Test.TestStudent, Zetbox.App.Test.Fragebogen, Zetbox.App.Test.Student_füllt_aus_Testbogen_RelationEntryMemoryImpl, ICollection<Zetbox.App.Test.Student_füllt_aus_Testbogen_RelationEntryMemoryImpl>>(
                 this,
                 new RelationshipFilterBSideCollection<Zetbox.App.Test.Student_füllt_aus_Testbogen_RelationEntryMemoryImpl>(this.Context, this));
                 // _Student.CollectionChanged is managed by OnStudentCollectionChanged() and called from the RelationEntry
     });
     return _triggerFetchStudentTask;
 }
开发者ID:daszat,项目名称:zetbox,代码行数:14,代码来源:Fragebogen.Memory.Designer.cs

示例13: TriggerFetchImplementsInterfacesAsync

 public Zetbox.API.Async.ZbTask TriggerFetchImplementsInterfacesAsync()
 {
     if (_triggerFetchImplementsInterfacesTask != null) return _triggerFetchImplementsInterfacesTask;
     _triggerFetchImplementsInterfacesTask = Context.FetchRelationAsync<Zetbox.App.Base.DataType_implements_ImplementedInterfaces_RelationEntryMemoryImpl>(new Guid("692c1064-37a2-4be3-a81e-4cb91f673aa3"), RelationEndRole.A, this);
     _triggerFetchImplementsInterfacesTask.OnResult(r =>
     {
         _ImplementsInterfaces
             = new ObservableBSideCollectionWrapper<Zetbox.App.Base.DataType, Zetbox.App.Base.Interface, Zetbox.App.Base.DataType_implements_ImplementedInterfaces_RelationEntryMemoryImpl, ICollection<Zetbox.App.Base.DataType_implements_ImplementedInterfaces_RelationEntryMemoryImpl>>(
                 this,
                 new RelationshipFilterASideCollection<Zetbox.App.Base.DataType_implements_ImplementedInterfaces_RelationEntryMemoryImpl>(this.Context, this));
                 // _ImplementsInterfaces.CollectionChanged is managed by OnImplementsInterfacesCollectionChanged() and called from the RelationEntry
     });
     return _triggerFetchImplementsInterfacesTask;
 }
开发者ID:daszat,项目名称:zetbox,代码行数:14,代码来源:DataType.Memory.Designer.cs

示例14: TriggerFetchPropertiesAsync

 public Zetbox.API.Async.ZbTask TriggerFetchPropertiesAsync()
 {
     if (_triggerFetchPropertiesTask != null) return _triggerFetchPropertiesTask;
     _triggerFetchPropertiesTask = Context.FetchRelationAsync<Zetbox.App.Base.UniqueContraints_ensures_unique_on_Properties_RelationEntryMemoryImpl>(new Guid("29235ba6-5979-4ed8-8e75-6bd0837c7f28"), RelationEndRole.A, this);
     _triggerFetchPropertiesTask.OnResult(r =>
     {
         _Properties
             = new ObservableBSideCollectionWrapper<Zetbox.App.Base.IndexConstraint, Zetbox.App.Base.Property, Zetbox.App.Base.UniqueContraints_ensures_unique_on_Properties_RelationEntryMemoryImpl, ICollection<Zetbox.App.Base.UniqueContraints_ensures_unique_on_Properties_RelationEntryMemoryImpl>>(
                 this,
                 new RelationshipFilterASideCollection<Zetbox.App.Base.UniqueContraints_ensures_unique_on_Properties_RelationEntryMemoryImpl>(this.Context, this));
                 // _Properties.CollectionChanged is managed by OnPropertiesCollectionChanged() and called from the RelationEntry
     });
     return _triggerFetchPropertiesTask;
 }
开发者ID:daszat,项目名称:zetbox,代码行数:14,代码来源:IndexConstraint.Memory.Designer.cs

示例15: TriggerFetchSecondaryControlKindsAsync

 public Zetbox.API.Async.ZbTask TriggerFetchSecondaryControlKindsAsync()
 {
     if (_triggerFetchSecondaryControlKindsTask != null) return _triggerFetchSecondaryControlKindsTask;
     _triggerFetchSecondaryControlKindsTask = Context.FetchRelationAsync<Zetbox.App.GUI.Presentable_displayedBy_SecondaryControlKinds_RelationEntryMemoryImpl>(new Guid("5404456a-4527-4e40-a660-b4a5e96e4a47"), RelationEndRole.A, this);
     _triggerFetchSecondaryControlKindsTask.OnResult(r =>
     {
         _SecondaryControlKinds
             = new ObservableBSideCollectionWrapper<Zetbox.App.GUI.ViewModelDescriptor, Zetbox.App.GUI.ControlKind, Zetbox.App.GUI.Presentable_displayedBy_SecondaryControlKinds_RelationEntryMemoryImpl, ICollection<Zetbox.App.GUI.Presentable_displayedBy_SecondaryControlKinds_RelationEntryMemoryImpl>>(
                 this,
                 new RelationshipFilterASideCollection<Zetbox.App.GUI.Presentable_displayedBy_SecondaryControlKinds_RelationEntryMemoryImpl>(this.Context, this));
                 // _SecondaryControlKinds.CollectionChanged is managed by OnSecondaryControlKindsCollectionChanged() and called from the RelationEntry
     });
     return _triggerFetchSecondaryControlKindsTask;
 }
开发者ID:daszat,项目名称:zetbox,代码行数:14,代码来源:ViewModelDescriptor.Memory.Designer.cs


注:本文中的Zetbox.API.Async.ZbTask.OnResult方法示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。