Пример #1
0
        public async Task <I> CreateAdd(params object[] criteria)
        {
            var item = await ItemPortal.CreateChild(criteria);

            base.Add(item);
            return(item);
        }
Пример #2
0
        public async Task <I> CreateAdd()
        {
            var item = await ItemPortal.CreateChild();

            base.Add(item);
            return(item);
        }
Пример #3
0
 private async Task CreateChild(Guid criteria, IDisposableDependency dependency)
 {
     Assert.IsNotNull(dependency);
     GuidCriteria = criteria;
     Add(await ItemPortal.CreateChild(criteria));
 }
Пример #4
0
 private async Task CreateChild(int criteria)
 {
     IntCriteria = criteria;
     Add(await ItemPortal.CreateChild(criteria));
 }
Пример #5
0
 private async Task CreateChild()
 {
     CreateChildCalled = true;
     Add(await ItemPortal.CreateChild());
 }