コード例 #1
0
        public async Task <ClustersResponse> GetClustersAsync(ClustersRequest request)
        {
            await Task.Delay(2000);

            return(new ClustersResponse {
                Succeeded = true,
                Result = new List <Cluster> {
                    new Cluster {
                        Name = "Agriculture Cluster", Id = 1
                    },
                    new Cluster {
                        Name = "Camp Coordination and Management Cluster", Id = 2
                    },
                    new Cluster {
                        Name = "Early Recovery Cluster", Id = 3
                    },
                    new Cluster {
                        Name = "Emergency Shelter Cluster", Id = 4
                    },
                    new Cluster {
                        Name = "Emergency Telecommunications Cluster", Id = 5
                    },
                    new Cluster {
                        Name = "Food Cluster", Id = 6
                    },
                    new Cluster {
                        Name = "Health Cluster", Id = 7
                    },
                    new Cluster {
                        Name = "Logistics Cluster", Id = 8
                    },
                    new Cluster {
                        Name = "Nutrition Cluster", Id = 9
                    },
                    new Cluster {
                        Name = "Protection Cluster", Id = 10
                    },
                    new Cluster {
                        Name = "Water and Sanitation Cluster", Id = 11
                    },
                }
            });
        }
コード例 #2
0
 public async Task <ClustersResponse> GetClustersAsync(ClustersRequest request)
 {
     throw new NotImplementedException();
 }