Пример #1
0
    public void GetDepList()
    {
        Debug.Log("->GetDepList");
        client = GetLocationServiceClient();
        Department[]  list          = client.GetDepartmentList();
        StringBuilder stringBuilder = new StringBuilder();

        foreach (Department item in list)
        {
            stringBuilder.AppendLine(string.Format("Id:{0},Name:{1},Pid:{2}", item.Id, item.Name, item.ParentId));
            //stringBuilder.AppendLine(string.Format("Id:{0},Name:{1},Pid:{2}", item.Id, item.Name, item.ParentId));
        }
        Debug.Log(stringBuilder.ToString());
    }