Exemplo n.º 1
0
        public async Task <Entity> GetEntityAsync(string url)
        {
            var builder = new ResolveQueryBuilder {
                Path = string.Format(ResolvePath, url)
            };

            return(await _gateway.SendGetRequestAsync <Entity>(builder.BuildUri()));
        }
Exemplo n.º 2
0
        public async Task <Entity> GetEntityAsync(string url)
        {
            EnsureClientId();

            var builder = new ResolveQueryBuilder();

            builder.Path = string.Format(ResolvePath, url);

            return(await GetByIdAsync <Entity>(builder.BuildUri()));
        }
Exemplo n.º 3
0
        public Entity GetEntity(string url)
        {
            EnsureClientId();

            var builder = new ResolveQueryBuilder();

            builder.Path = string.Format(ResolvePath, url);

            return(GetById <Entity>(builder.BuildUri()));
        }