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()); }
opGAsync(Test.G g, Current current) { return(Task.FromResult(g)); }
public override void setG(Test.G theG, Ice.Current current) { }
public override Test.G opG(Test.G g, Ice.Current current) { return(g); }
public Test.G opG(Test.G g, Current current) => g;
public void setG(Test.G theG, Current current) { }
public Test.G opG(Test.G g, Ice.Current current) { return(g); }
public override void opG_async(Test.AMD_Initial_opG cb, Test.G g, Ice.Current current) { cb.ice_response(g); }
public Task <Test.G> opGAsync(Test.G g, Current current) => Task.FromResult(g);