Esempio n. 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());
        }
Esempio n. 2
0
 opGAsync(Test.G g, Current current)
 {
     return(Task.FromResult(g));
 }
Esempio n. 3
0
 public override void setG(Test.G theG, Ice.Current current)
 {
 }
Esempio n. 4
0
 public override Test.G opG(Test.G g, Ice.Current current)
 {
     return(g);
 }
Esempio n. 5
0
File: TestI.cs Progetto: yzun/ice
 public Test.G opG(Test.G g, Current current) => g;
Esempio n. 6
0
 public void setG(Test.G theG, Current current)
 {
 }
Esempio n. 7
0
 public Test.G opG(Test.G g, Ice.Current current)
 {
     return(g);
 }
Esempio n. 8
0
 public override void opG_async(Test.AMD_Initial_opG cb, Test.G g, Ice.Current current)
 {
     cb.ice_response(g);
 }
Esempio n. 9
0
 public Task <Test.G> opGAsync(Test.G g, Current current) => Task.FromResult(g);