Пример #1
0
        public async Task <GrainType[]> GetGrainTypes()
        {
            var types = await _managementGrain.GetActiveGrainTypes();

            return(types?.Where(p => _filteredTypes == null || _filteredTypes.Any(ft => ft.FullName == p))
                   .Select(p => new GrainType(p))
                   .OrderBy(t => t.ShortName)
                   .ToArray());
        }