Пример #1
0
        public void CopyToTest1()
        {
            var shape = new EntityGraphShape().Edge <G, GH>(x => x.GHSet);

            var g = new Test.G {
                GHSet = new List <Test.GH> {
                    new Test.GH()
                }
            };
            var result = shape.CopyTo <object, Entity>(g, new AssemblyTypeMapper <H>());

            Assert.IsTrue(result != null);
            Assert.IsTrue(result is G);
            Assert.IsTrue(((G)result).GHSet.Count() == g.GHSet.Count());
        }
Пример #2
0
 opGAsync(Test.G g, Current current)
 {
     return(Task.FromResult(g));
 }
Пример #3
0
 public override void setG(Test.G theG, Ice.Current current)
 {
 }
Пример #4
0
 public override Test.G opG(Test.G g, Ice.Current current)
 {
     return(g);
 }
Пример #5
0
Файл: TestI.cs Проект: yzun/ice
 public Test.G opG(Test.G g, Current current) => g;
Пример #6
0
 public void setG(Test.G theG, Current current)
 {
 }
Пример #7
0
 public Test.G opG(Test.G g, Ice.Current current)
 {
     return(g);
 }
Пример #8
0
 public override void opG_async(Test.AMD_Initial_opG cb, Test.G g, Ice.Current current)
 {
     cb.ice_response(g);
 }
Пример #9
0
 public Task <Test.G> opGAsync(Test.G g, Current current) => Task.FromResult(g);