Exemplo n.º 1
0
    public static MyAbstractObject CreateObject()
    {
        Tobj             subOb  = new TObj();
        MyAbstractObject parent = subOb.ToObject();

        return(parent);
    }
Exemplo n.º 2
0
 public void MakeChildObject(MyAbstractViewModel vm, MyAbstractObject child)
 {
     child.Id   = vm.Id;
     child.Name = vm.Name;
 }