示例#1
0
    public int GetUserXYZ(Wolframe.ProcProvider provider)
    {
        User    usr = new User();
        Address rt  = (Address)provider.call("GetAddress", usr, typeof(Address).GUID);

        return(1);
    }
示例#2
0
    public Address GetUserAddress2(Wolframe.ProcProvider provider, User usr)
    {
        Address rt;

        rt.street  = "ABC street";
        rt.country = "XYZ country";
        provider.call("GetAddress", usr);
        return(rt);
    }
示例#3
0
    public IdPair GetUserIdPair(Wolframe.ProcProvider provider, User usr)
    {
        IdPair rt = (IdPair)provider.call("GetIdPair", usr, typeof(IdPair).GUID);

        return(rt);
    }
示例#4
0
    public Address GetUserAddress(Wolframe.ProcProvider provider, User usr)
    {
        Address rt = (Address)provider.call("GetAddress", usr, typeof(Address).GUID);

        return(rt);
    }