Пример #1
0
        /// <summary>
        /// Returns of list of resources in Orleans.
        /// </summary>
        /// <returns>Array of resource URIs.</returns>
        public async Task <List <string> > GetSigmaAlgebraAsync()
        {
            ISigmaAlgebra resourceList = client.GetGrain <ISigmaAlgebra>("resourcelist");

            return(await resourceList.GetListAsync());
        }
Пример #2
0
        public async Task <ListContinuationToken> GetSigmaAlgebraAsync(ListContinuationToken token)
        {
            ISigmaAlgebra resourceList = client.GetGrain <ISigmaAlgebra>("resourcelist");

            return(await resourceList.GetListAsync(token));
        }